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 is smart identification in QTP?
Hai anyone please "Explain about Framework in QTP?"
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
How can you close the second opened browser?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Can you brief the hurdles you faced during Automation testing?
Which scripting language used by quicktest professional?
Is it possible to merge two object repository files in qtp?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How you can write contexts to text file in qtp?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
when u script reveiwing in which area u more concentrates?
Where you are storing your script?
How to export quicktest professional results to an .xls file?