Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to connect to a database?

1178


How to use setroproperty?

1081


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

2076


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

1157


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

1259


What are output values and why they are used ?

1122


How to define array in qtp?

1065


What is the difference between run time object and test object in QTP?

1110


What are the challenges you faced during you entire life automation ?

1560


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

2126


How many types of parameters are available in quicktest professional (qtp)?

1090


What is business process testing(bpt) in qtp?

1192


Explain the types of object repository?

1026


how can i pass a "cript"as a parameter in to a function

2046


What are the challenges u faced in testing with crm domain? How u overcome with?

1998