Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if there is two login button in your page, how you know that
this login button is correct for login .

Answer Posted / rangalnrt

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

tell me abt a time when u had to go above &beyind the call of duty to get the job done

1938


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

2092


How would you export a script from one pc to another in qtp?

1099


why should we give deliver good quality software?

2115


Why bpt?

1056


if our qtp vb Script may be Currepted then What we want do?

1907


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

2111


please post the interview questions for QA position in FACTSET

4437


what is the structure for the data driven framework

2001


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3704


What is the difference in testing a client-server application and a web application?

1106


How to find the name of the machine where you are running your automation scripts in qtp?

995


How do you know the location Id of an object if you know its index id?

1039


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1324


what is the difference between built-i function and In-built function?

2169