What are SetToProperty, SetRoProperty, GetToProperty
scripting?
Answers were Sorted based on User's Feedback
Answer / suresh kumar
The GetTOProperty and GetTOProperties methods enable you to
retrieve a specific property value or all the properties and
values that QuickTest uses to identify an object.
The SetTOProperty method enables you to modify a property
value that QuickTest uses to identify an object.
SetRo property is not available in QTP.
classifications mail me. uvvsuresh@gmail.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mahesh.k
getroproperty: retrieves property of a test object.
getropropertyretrieves: it retrieves all the properties associated with test objects.
settoproperty:It can modify,add property to the objects which is exist in repository.
setroproperty is not existed in qtp,nothing but we cant change or modify run time(object in appication) objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
In your QTP framework, what checkpoints were applied in the script to minimize script failure due to any reason during execution?
Could you suggest me best coaching for automation in Delhi or nearby area?
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.
Define virtual object?
Is there any option in QTP to add Java add-in after instaling the QTP?
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar
what is the difference between image and bitmap check point
i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2