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...

i have opend 2 gmails i am working with 1 gmail i want to
close other gmail by usig script.

2.i have 10 links in a page all of them have same
properties& names i want to click on 5link by using script.

3.i have one combobox in that i want to see all the
citynames in the combobox and i have to check weather
hyderabad is present or not.

4. size of objectrepository.
5.what r problems we get during writing the script.
6.is it possible to compare to excel sheets in qtp if
possible wht is the script.
7.example for lowlevelrecording

Answer Posted / sha

2. set Odesc=description.create
Odesc("miccalss").Value="Link"
set bro=Browser().Page().childobjects(Odesc)
Bro.count
for i=1 to 5
browser().Page().Bro(i).click
next
3. item=bro().Page().getroproperty("all items")
arr=split(item,";")
for i= 1 to ubound(arr)
if arr(i)="Hyderabad" then
reporter.reportevent micPass,Hyderabad,present
exitfor
Endif
next
4. Depends on the machine
5. Object properties will get change,Identifying the propery values etc
6.DataTable.Importsheet "path of excel file"sourcesheetname,Destination sheetname(global)
External sheet is in Global sheet and which u want to compare keep in action sheet then write if condition and check if get match with both global n action make it pass...
7.Signature

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a QTP script to enter a keyword in to Google search engine?

1098


What is data driver in qtp?

1078


Explain the concept of object repository & how qtp recognizes objects?

1211


How does qtp identify the object in the application?

1010


Have you used xml check point in your project?

1014


how to disable the pop ups through QTP using a script

2331


Explain different types of action in qtp?

1144


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

2063


What is the significance of “action 0” in qtp?

1126


In qtp, how you can use xpath to identify objects?

1132


what is the hierarchy to use properties in descriptive programming

2040


Suppose I want fail that check point? How can you do that?

1144


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1374


what is keyword driven testing in qtp?n how is it useful?

1987


How to creating an output value using quicktest professional (qtp)?

1064