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
Answers were Sorted based on User's Feedback
Answer / guest
Type"BROWSER(BROWSERNAME).CLOSE"
Type"PAGE(PAGENAME_5).CLICK"
7.Example for low level recording is signatures and advanced
objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satish
Kalyan Plz explain Hybri Frame Work Process or Any Frame
work process in QTP
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?
Can we check environment variable value without existing of environment variable
In ordinal identifier there r 3 options available. Which one will be enabled first when ordinal identifier is invoked.
Extract a word from a sentenece?
1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?
I know the Basic QTP. But I wanted to learn descriptive programming in QTP. Without Object Repository how we can develop a script? I wanted to do one real time project using QTP. If you know this type of training is available in pune then let me know the address.
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
what is the object properties settings in the QTP
In My application, having Copmany Name : Text Box and click Save button. if i enter a vlue, after run..........it shows the already exists. so how to enter random ro mmultiple names names into webedit box(company Name). without using DATATABLE THanks Ramesh
How to convert manual test cases to automated testcases
Output values? i want a practical example