10-09-2013, 09:03 PM
How to find which value is having link and which are all not having in Web table.
|
How to find which value is having link and which are all not having in Web table.
|
|
10-09-2013, 09:03 PM
How to find which value is having link and which are all not having in Web table.
10-11-2013, 06:07 PM
generally you can use the htmltag to check this. However, having a screenshot of the application which will cover both the cases link and non-link would helpful to provide more inputs from our side.
Thanks,
SUpputuri
10-17-2013, 09:36 PM
Supputuri:
I assume you are asking how can you tell determine how may links are in a webtable. I am not certain whose code I modified. Sorry. Code: ''// Find_all_childobjects_of_a_webtable
''// do not know how this code will react if a cell has more than one object
''// for example a cell contains webedit and a link
Function objects_count_in_Page(Req_obj)
Dim obj
Set obj=Description.Create
obj("micclass").Value=Req_obj
Set x=Browser("name:="&browserName).Page("title:="&browserName).WebTable("name:="& tableName).ChildObjects(obj)
Req_obj_count= x.count()
print Req_obj&"s"&" in WebPage : "&Req_obj_count
objects_count_in_Page = Req_obj_count
End Function
' If any web objects are missing, add them to the array
webObjects_arr = array("Link", "WebButton", "WebCheckBox", "WebEdit","WebElement", "WebTable", "Image", "WebList", "WebRadio", "WebRadioGroup")
' loop through the array to count how many of each type appears in the webtable
For i = 0 to ubound(webObjects_arr)
Call objects_count_in_Page(webObjects_arr(i))
Nexthth, Parke |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Can QTP handle slick grid table in a web page | qtplearner88 | 2 | 5,241 |
10-01-2019, 10:44 AM Last Post: shilpi952 |
|
| Child Object Not able to identified in Web Menu Link | noor | 0 | 2,233 |
01-21-2018, 04:44 PM Last Post: noor |
|
| unable to rowcount in web table | manoj84monu | 1 | 3,444 |
06-13-2016, 04:46 PM Last Post: Anu1234 |
|
| Fetching values from a web table | qapandit | 7 | 10,753 |
05-30-2014, 02:32 PM Last Post: nistalaramesh |
|
|
|
find out of spelling error in Web application | deveshbhatt29 | 1 | 2,572 |
01-10-2014, 05:10 PM Last Post: Maheep_bhambri |