HomeContact us Contact us Name: Email: Subject: Message: Share Tweet Stumble Linkedin Google+ Pinterest Email 70 Comments « Older Comments Newer Comments » Madhuri Hi Mukesh, How do i click on a button in excel file using poi api? Thanks, Madhuri Mukesh Otwani Hi Madhuri, Apache POIs’ are used for reading/writing to MS Office Applications. And if I am correct then you are looking for click on button being embedded inside Excel file which will trigger some macro/vba code, this thing is not covered under Apache POI API. It it related to Visual Basic scripting. vishal Rattan Hi Mukesh, When i am creating firefoxdriver object it will give me error but when i am pointing to error i can not get link for import fireboxdriver what i am missing in this case. Mukesh Otwani Hi Vishal, There could be two reasons for this, either you didn’t add Selenium jar files to project build path or you have added individual selenium jar files along with Selenium standalone jar file also. If you are dealing with second case then i would suggest you to keep Selenium standalone jar file with project and remove all other selenium jar files. Prem kumar Hi Mukesh, I used your videos to configure teh tools for mobile automation testing.. Really videos are awesome. I copied your code and executed it. I got below error. A new session could not be created. (Original error: The following desired capabilities are required, but were not provided: platformName, deviceName) I am unable to run the code. Please help me ASAP. I need to give demo to client in 2 days. Thanks in advance. Mukesh Otwani Hi Prem, Kindly check your code from this link http://learn-automation.com/execute-appium-selenium-test-android-chrome-browser/ madhuri Hi, How do I open excel files from chrome? driver. get(“file:///C://Users//username//Downloads//e20a4f0d-55e9-4cc7-abdb-845c44c3774f.xlsx”); If I do this it is downloading the file again but it does not open the file. Please help. Thanks Mukesh Otwani Hi Madhuri, As of now, Web Browsers don’t have capability to open most of MS Office files that’s why the file is getting download. If you want to do any read operation from file then this post will help you a lot http://learn-automation.com/read-and-write-excel-files-in-selenium/ Savitha Hi Mukesh, I am new to selenium and facing some issues with IE browser as my organization denied to check protected mode for Intranet and Trusted sites. Hence unable to identify element in IE browser . I have installed both 32 bit and 64 bit but neither is working. As per your comment I have also changed registry settings: For 64-bit Windows installations, the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. Please note that the FEATURE_BFCACHE subkey may or may not be present, and should be created if it is not present. Important: Inside this key, create a DWORD value named iexplore.exe with the value of 0. Error message is displayed as: org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 33 milliseconds Repeatedly i am getting same error message even after changing registry but i cannot change my internet security setting. please provide me some solution for this problem Looking forward for your reply! Mukesh Otwani Hi Savitha, Ask your system administrator to allow Protected Mode Settings to be editable. madh Can you please post on how to automate export to excel functionality using selenium and java? Mukesh Otwani Hi Madh, Please refer this link http://learn-automation.com/read-and-write-excel-files-in-selenium/ Tulika Sir I want to try to verify color of the image using Selenium.,trying with & without html/tagging properties. Is it possible to do so? Mukesh Otwani Hi Tulika, WebDriver always works based on the DOM structure and its tag. In order to verify color of any element, you need to provide element property/properties which comes under a tag. Bhavesh Hi, I am using “extentreports-java-1.4” and its working fine, but now I have added the latest jar files of “extentreports-java-2.41.2” then it shows some errors in the code See this – https://ibb.co/enjXGQ Will I need to update any code after updating latest version of extent report? Please help me. Thanks Mukesh Otwani Hi Bhavesh, I think so but I am not pretty much sure as I didn’t work on version 1.x.x. But there are lot of changes between version 2.x.x and 3.x.x. Kindly check docs of version 2.x.x (Extent Report 2.x.x) Rashmi Also Please tell is there any way to share the screen shot for the error . Mukesh Otwani Hi Rashmi, You can put scrnshot in html report and share the url of same. Another way, you can send it as email using postman plugin, check this link http://doc.fortysix.ch/maven/maven-postman-plugin/ Bhavesh Will you please make video tutorial on this to send mail if any test case get fail? Mukesh Otwani Hi Bhavesh, I’ll post this topic in my blog soon but for your ready reference, please refer this link neha kumari Hi mukesh I am getting this Error [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) on project LearnMevenAutomation: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException i checked with execution environment;changed path and now pointing to jdk(1.8),but doesn’t help,getting same error. same version is in pom.xml and system path as well Mukesh Otwani Hi Neha, Did you try Project–> Right click–> Maven–> Update Project….? « Older Comments Newer Comments » Leave a Reply Cancel reply Notify me of new posts by email.