Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Urgent: Selenium tables question

View previous topic View next topic Go down

Urgent: Selenium tables question

Post by sganti.cleanpowerfinance on Sat Jul 24, 2010 1:22 am

Hi All,

1. I am trying to write a test using Selenium to compare each cell in a table and

verify that the number in that cell is correct (expected). Is there

an easier way to select the entire table and have Selenium do the

thing?


2. Also, is there a way to select all elements of the entire webpage and have selenium compare and report errors everytime there is a new element added to the webpage?

Thanks

sganti.cleanpowerfinance

Posts : 1
Join date : 2010-07-24

Back to top Go down

Re: Urgent: Selenium tables question

Post by Adviser on Sat Aug 07, 2010 12:21 pm

hi,

for first question , refer this post:
http://seleniumforum.forumotion.net/selenium-ide-discussion-f3/how-to-store-number-of-rows-of-a-table-t69.htm?highlight=table


for second question, use the following command:

storeAllButtons ( variableName )
Returns the IDs of all buttons on the page.

If a given button has no ID, it will appear as "" in this array.

Returns:
the IDs of all buttons on the page

Related Assertions, automatically generated:

* assertAllButtons ( pattern )
* assertNotAllButtons ( pattern )
* verifyAllButtons ( pattern )
* verifyNotAllButtons ( pattern )
* waitForAllButtons ( pattern )
* waitForNotAllButtons ( pattern )


storeAllFields ( variableName )
Returns the IDs of all input fields on the page.

If a given field has no ID, it will appear as "" in this array.

Returns:
the IDs of all field on the page

Related Assertions, automatically generated:

* assertAllFields ( pattern )
* assertNotAllFields ( pattern )
* verifyAllFields ( pattern )
* verifyNotAllFields ( pattern )
* waitForAllFields ( pattern )
* waitForNotAllFields ( pattern )


storeAllLinks ( variableName )
Returns the IDs of all links on the page.

If a given link has no ID, it will appear as "" in this array.

Returns:
the IDs of all links on the page

Related Assertions, automatically generated:

* assertAllLinks ( pattern )
* assertNotAllLinks ( pattern )
* verifyAllLinks ( pattern )
* verifyNotAllLinks ( pattern )
* waitForAllLinks ( pattern )
* waitForNotAllLinks ( pattern )

Best of luck

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum