Wednesday, November 19, 2014
On 1:00 AM by Unknown No comments
Answer 84: This is because IE expects attribute values to be in caps while
other browsers expect it to be lower case letters. Hence
//tr[@style="background-color:yellow"]
--- works with other browsers
//tr[@style="BACKGROUND-COLOUR:yellow"]
--- works with IE
Answer 85: Besides notorious “same origin policy” restriction from JS,
Selenium is also restricted from exercising anything which is outside browser.
For example you cannot click on “Tools” option of your browser by just using
Selenium.
Answer 86: You can use Robot class in java to achieve this, but it would be
dirty solution even if you get through this.
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
Sample Selenium IDE Test Script by Recording: We will use the Mercury Tours website as our web application under test. It is an online flig...
-
Answer 1 : Selenium is a browser automation tool which lets you automated operations like – type, click, and selection from a drop down o...
-
Answer 48 : Use pause command which takes time in milliseconds and would pause test execution for specified time – pause ( waitTime )...
-
Answer 27 : You can use “store” command to achieve this. You can save result of an evaluation in a variable and use it later in your Sele...
-
Selenium Commands – Selenese Selenese commands can have up to a maximum of two parameters: target and value. Parameters are not required al...
-
Answer 57 : You can specify port while running the selenium server as – java -jar selenium-server.jar –port 5555 Answer 58 : ...
-
Locating GUI Elements Locating elements in WebDriver is done by using the “findElement(By. locator ())” method. The “locator” part of the co...
-
Answer 18 : You need to use context menu to add check points to your Selenium IDE tests Answer 19 : There are two ways to edit tests...
-
Answer 60 : While using java you need to create instance of DefaultSelenium class and pass it four parameters – selenium = ne...
-
Answer 11 : Selenium IDE can be opened either in side bar (View > Side bar > Selenium IDE) or as a pop up window (Tools > Seleni...
Shaik. Powered by Blogger.
0 comments:
Post a Comment