In a webtable, lets say there are 10 records and 1 column.
let say "image" is available for 1st,2nd and 3rd records and
4th onwards image is not available. How to recognise for
that cell image is available or not?
Answer Posted / nalini
We can use childitemcount method to get the image count in
a cell.
Rcnt=Browser("title:=.*").page("title:=.*").WebTable
(t).RowCount
imgcnt=0
For i=1 to Rcnt
imgcnt = Browser("title:=.*").page("title:=.*").WebTable
(t).ChildItemCount(i, 1, "Image")
Reporter.ReportEvent 0,"imgcount",imgcnt& " images
available in row# "& i & " and column1"
Next
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the basic concept of quicktest professional?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Explain the use of action split in qtp?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
What is the meaning Work bench?
How to build scripts that access data from external sources?
What is the parameterization?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What are the major/ important methods, functions in QTP we use realtime testing
how can we do the frame work in qtp
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Explain how Selenium is different from UFT?