in login module login button chage regularly(means login
button change to submit button).What is the code for it.

Answers were Sorted based on User's Feedback



in login module login button chage regularly(means login button change to submit button).What is t..

Answer / ramchandra patil

Hi,
If the buttons label changes from login to submit then u can use descriptive programing by creating object without using label property. U can use below code.

Set objButton=description.create
objButton("micclass").value="webbutton"
objButton("name").value="namepropertyvalue"
Browser("").page("").webbutton(objButton).click

Pls let me know if u have ny doubt...

Ram

Is This Answer Correct ?    2 Yes 0 No

in login module login button chage regularly(means login button change to submit button).What is t..

Answer / guest

1.Suppose some point of time ,test engineer will come to know,"login" button name changed to "submitt",then test engineer can intimate developer,if any changes are made by developer,it will affect testing also. we can request developer,if developer makes changes for the old fucntionalities,could u plz inform testing team?
according test enginner can change in the script.
2.If any button names are changed by developer,developer will intimate automation test engineer regarding about any changed made to object name usually.

Is This Answer Correct ?    0 Yes 0 No

in login module login button chage regularly(means login button change to submit button).What is t..

Answer / shekhar

If name property keeps on changing then we can go with other
properties except name .You can take Html Id and use
descriptive programming as it used in the first post.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder

6 Answers  


How to carry out bit map check points in QTP

0 Answers   kenexa,


What is Descriptive Programing? In which cases, we will go for descriptive programing?

2 Answers   CTS,


Can we create test script with out Step Generator?

4 Answers  


Write a script to delete the a specific row (say 3rd) in a webtable.

0 Answers  


how to acess a test in RSA?

0 Answers   IBM,


hi i need to learn qtp its very urgent..pls tell me who is the best faculty for qtp in hyd..... and i plan to go foe mindq nageshwar rao? its good or not?

2 Answers  


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

0 Answers  


Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?

6 Answers   Oracle, TCS,


What is the basic concept of quicktest professional?

0 Answers  


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

0 Answers  


How many types of OBJECTS are there in QTP?

8 Answers   Intel, Inter Globe Technologies,


Categories