By using QTP, How do you test a frame in a web page?

Answers were Sorted based on User's Feedback



By using QTP, How do you test a frame in a web page?..

Answer / kalyan

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

By using QTP, How do you test a frame in a web page?..

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

By using QTP, How do you test a frame in a web page?..

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

By using QTP, How do you test a frame in a web page?..

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

Post New Answer

More QTP Interview Questions

How to extract the data in the below scenario and dump it in the excel? Link1 Link2 Link3 Link4 numberlink1 text text text numberlink2 text text text numberlink3 text text text numberlink4 text text text So, Here is my question? -- It is a matrix but is not a web table(QTP does not recognize it as a web table) -- Link1, link2 and link3 are links under which text is available -- numberlink1 to numberlink4 are again LINKS -- All the others displayed are text only I want to extract the data in the above scenario and dump it into an excel in the same scenario as it is displayed above. Kindly help.. Thank you

0 Answers  


Hi..All I have installed QTP 10.0, and need to Automate SAP Application.....so i need to Install SAP Add-ins, anybady has SAP-Addins, Please help me, and thanks in advanced plese send it on my email id: sandipgami84@gmail.com Thanks, Sandip Gami +91-9714177088

1 Answers  


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

0 Answers  


from where we will retrieve data for data driven tests in qtp?

3 Answers  


how do i know how to use tools

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

0 Answers  


How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?

1 Answers  


Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


What are the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


how i will connect oracle or microsoft acess database through manually written Script

2 Answers   Aurigo,


hw to create a frame work in qtp..what are the basic steps

2 Answers   Infosys,


I have 5 save buttons in my application on 5 different tabs one after the another . I have spy them and added each of them in my OR. My Or is able to highlight each button on each of the 5 tabs. But when I run the script it does not click the object.Is there anything I have to edit in OR. Any property to add or delete? Below are the properties of 5 save buttons. My code for each is like browser().page().savebutton1.click Browser().page.savebutton2.click Properties of 5 buttons Dhopare, Namita Sent: September 2, 2015 2:57 PM To: Vullengala, Jagadeeshchandra "Class Name:=WebButton", "abs_x:=718", "abs_y:=693", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSaveTab1", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=718", "y:=616" "Class Name:=WebButton", "abs_x:=687", "abs_y:=571", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSave", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=687", "y:=494" "Class Name:=WebButton", "abs_x:=635", "abs_y:=478", "class:=Button", "disabled:=0", "height:=23", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a3').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=635", "y:=401" "Class Name:=WebButton", "abs_x:=695", "abs_y:=558", "class:=Button", "disabled:=0", "height:=22", "html id:=BtnExternalPartySve", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""BtnExternalPartySve"" class=""Button"" onclick=""document.getElementById('a4').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=695", "y:=481" "Class Name:=WebButton", "abs_x:=672", "abs_y:=642", "class:=Button", "disabled:=0", "height:=22", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=672", "y:=565" Previous Item Next Item Connected to Microsoft Exchange

1 Answers  


Categories