Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
sganti.cleanpowerfinance
Posts : 1
Join date : 2010-07-24

Urgent: Selenium tables question Empty Urgent: Selenium tables question

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
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

Urgent: Selenium tables question Empty Re: Urgent: Selenium tables question

Sat Aug 07, 2010 12:21 pm
hi,

for first question , refer this post:
https://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
Back to top
Permissions in this forum:
You cannot reply to topics in this forum