What are the properties you would use for identifying a
browser & page when using descriptive programming ?
Answers were Sorted based on User's Feedback
Answer / sreeprasad
"name" would be another property apart from "title" that we
can use.
OR
We can also use the property "micClass".
ex: Browser("micClass:=browser").page("micClass:=page")....
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / a qtp user
If you use browser handle (hwnd), you won't need page at
all.
For instance Browser("hwnd:=111111").WebList(....)
| Is This Answer Correct ? | 1 Yes | 0 No |
How to Analyze the Checpoint results by Checking Bitmaps?
In QTP how can we recognize objects Without using Object Repository?
How can i see test results in excel sheet ? test data not present in data table.
Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.
Wt is the difference between Business Component and scripted component?
How to call a function in QTP?
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
what are the different kinds of frameworks in automation?
What are private functions in QTP? How they can be called from the function library?
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
what frame work you are following?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma