Wednesday, November 19, 2014
On 1:02 AM by Unknown No comments
Answer 41: You would need to use clickAt command to achieve. ClickAt command
accepts element locator and x, y coordinates as arguments
ClickAt (locator,
(coordStrings like...) “X, Y”)
Ex:
clickAt
(Command) css=#gb_2 > span.gbts(Target)
10,10 (Value) ----- IDE
ClickAt
("//li[@id='tab-panel-id__second-tab-id']/a[2]/em/span/span","0,0")
---- Java code
Answer 42: Use assertSelectOptions as following to check options in a drop
down list – assertSelectOptions
Answer 43: Use storeTable command to get data from a specific cell in an html
table.
Following example store
text from cell 0,4 from an html table –
storeTable (Command)
css=#tableId.0.4(Target)
textFromCell(Value)
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...
-
Selenium Commands – Selenese Selenese commands can have up to a maximum of two parameters: target and value. Parameters are not required al...
-
Locating GUI Elements Locating elements in WebDriver is done by using the “findElement(By. locator ())” method. The “locator” part of the co...
-
Answer 60 : While using java you need to create instance of DefaultSelenium class and pass it four parameters – selenium = ne...
-
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...
-
Answer 34 : This is because Selenium IDE does not support execution of test in any other language than Selenese (language of Selenium IDE...
-
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 57 : You can specify port while running the selenium server as – java -jar selenium-server.jar –port 5555 Answer 58 : ...
-
Answer 21 : This entirely boils down to operations you are carrying out with Selenium. Though you would definitely be using following Sel...
-
Answer 24 : CSS location strategy can be used with Selenium to locate elements, it works using cascade style sheet location methods in wh...
Shaik. Powered by Blogger.
0 comments:
Post a Comment