By using QTP, How do you test a frame in a web page?
Answers were Sorted based on User's Feedback
Dorababu sorry to say this. we are not xml programmers.
Here frame means nothing but one part in a web page.Means
one page will be having n number of frames.
We can test frame is available or not. For example--
Browser().page().frame().webbutton().click
In Above example webbutton existing in a frame. If we take
the properties of webbutton using objspy we will get the
frame properties,page properties & browser properties along
with webbutton properties.
any doubts mail to mskalyan.smile@gmail.com
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nani4urs
By using Check Poinnts we can check the frame in a web page.
for eg: we have to check the image in a frame we can use
the bitmap check point.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / sirisha
Could you please explain briefly? am little bit poor in
coding. and wr can i write this xml file? and how can i
execute?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m dora babu
Hi,
First we need to create a xml file and then we can test a
frame in web page in the below format.
<?xml version="1.0"?>
<ROOT>
<Browser name="sten Desktop"
logicalname="stenadDesktop">
<Page title="sten Desktop"
logicalname="stenabPage">
<Frame title="stecab test"
name="stestyIframe_activity_*.*"
logicalname="stesttentionFrame">
<WebElement innertext=""
index="2" htmltag="SPAN" logicalname="astesttionTabs"/>
</Frame>
</Browser>
</ROOT>
M Dora Babu S O N T A S O F T W A R E
BANGLORE Mail me @ mdorababum@gmail.com
| Is This Answer Correct ? | 1 Yes | 3 No |
Can a function return a dictionary object?
What does it mean when a check point is in red color? what do u do?
how to get the object property
When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.
What is checkpoints for quicktest professional (qtp)?
what testplan contents and what test strategy contents,what is the diff b/w them
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
what is the use of Text output value in Qtp?
What are the types of properties that quick test learns while recording?
how to know no.of mails in our g mail by using vb-script