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
What are some test assets and related extensions of qtp?
What are the types of object repositories? Which one is you are using?
Explain xml checkpoints.
How to test results for qtp ?
What is quick test pro?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
How may types of defects identify application or your currently working application?pls give me answer..
Differences between quicktest professional (qtp) and winrunner?
What is QTP testing process?
what type of framework u r using in ur organization
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
What is difference between shared and local object repository?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Hoe can we do retesting using functions please give the code for it using login page