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

how can we handle exceptional handling in qtp

6 Answers   NIIT,


what are the different kinds of frameworks in automation?

1 Answers   Accenture,


What is the present version of the VB Script we are using

1 Answers  


Explain getroproperty and gettoproperty & settoproperty?

1 Answers  


Explain the check points in quicktest professional?

0 Answers  






How we can test a Frame in a web page?

1 Answers   eMids,


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

0 Answers  


What is the extension of script and object repositary files?

7 Answers   Maveric,


w is datatable

5 Answers   CTS, IBM,


How to Parameterize Object repository in QTP?

6 Answers   Cognizant, IIBM,


write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


How to map the test cases to requirements in QC?

4 Answers   IBM,


Categories