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

i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

2053


What are the views available in quicktest professional (qtp)?

999


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

2217


terminal services client

2198


Differentiate the type of test cases which can be automated and which cannot be automated?

979


Is the qtp course will help to create a virtual object?

1907


Define Environment Variable in UFT and its uses?

1016


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

1043


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1958


Give the syntax to import/export xls into qtp.

1009


Is virtual object supported in low level recording mode?

1108


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1974


How many types of parameters are available in quicktest professional (qtp)?

993


Explain QTP using different development techniques ?

878


What is CMMP and CMMH?

1123