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 |
In QTP I have a parameter in a datatable that is a sentence. I need to take the last word from the sentence and enter it into a field in a web application. How can I setup a parameter to enter in just a portion of the parameter (last word of the sentence) instead of the entire paramater (whole sentence).
If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened. What would be Descriptive programming for this in QTP using VB Script..??? Please send your answers.
How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.
1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?
What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?
It is very difficult to test in manual for that we go to DATA DRIVEN TEST.
what are recovery management techiniques?
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
What does "Dynamic change on web pages" means.As per my knowledge, this comes in "Complete" level of Active screen capture levels, where it says, "Also dynamic changes on web changes are saved.so i want to know what type of dynamic changes are made and is this dyanmic changes efftes only on web application or any other?