if there is two login button in your page, how you know that
this login button is correct for login .
Answers were Sorted based on User's Feedback
If there are two login buttons,then go with index value
using descriptive programming.first we should make sure that
which login button navigate to required page.then give
corresponding index value as property in script as follows.
Broser("BR").page("PG").webbutton("index:=2").click
or
set objbutton=Description.Create()
objbutton("micclass").value="Webbutton"
objbutton("index").value="2"
browser(br).page(pg).webbutton(objbutton).click
| Is This Answer Correct ? | 2 Yes | 1 No |
But before going operate the button check whether that button is enabled or disabled
set objbutton=Description.Create
objbutton("micclass").value="Webbutton"
objbutton("name").value="login"
set childs = B().P().childobjects(objbutton)
for i=0 to childs.count-1 step 1
if Broser("BR").page("PG").webbutton("index:="&i).getroproperty("Enabled") then
Broser("BR").page("PG").webbutton("index:="&i).Click
end if
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
how can i prepare for QTP(8.2) to face interview ? give over view details?
I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.
One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?
I am struggling to understand QTP more from descriptive programming point of view. Is it easy to learn good QTP in South india by good faculty than north india? I found a great lack of institution in here. can you suggest me better instituion. I am holding two years of experience in same company, is there possibility in south india for me?
Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?
What is the Automation Process followed in your company?
Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.
where is the bitmap checkpoint be saved
What are the benefits of qtp?
I want to do QTP Certification what is the pattern of Question paper.
what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?