How to create a run time propertyfor an object?
Answers were Sorted based on User's Feedback
Answer / firoz basha shaik
for ex, suppose that we want to know what is the data in
the text box while the application is running?
FName = Browser("Browser").Page("Page").Webedit
("FirstName").GetROProperty("text")
msgbox FName
the runtime text which is present in FirstName field will
be stored in FName variable and can be seen using msgbox.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / kiran1783
'The following example uses the SetTOProperty method to set
the
'html id of the WebFile object.
Browser("Fill-Out-Form").Page("Fill-Out-Form").WebFile
("name-of-files").SetTOProperty "html id", 4
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / ravi
Sorry kiran...
we can not set a property to an object in run time .
You can use GetROProperty(”outerText”) to get the outerText
of a object but there is no function like SetROProperty
tochange this property. But you can use
WebElement().object.outerText=”Something” to change the
property.
Is This Answer Correct ? | 2 Yes | 3 No |
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Diff b/w test scenario's and test Procedures?
How to retrieve particular cell data in excel sheet ?without importing method.
What type of error u will get if u have not installed java add in in java project? what is the error name ?
What is the basic concept of quicktest professional?
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)
Through array we can execute the testcase how ? give me example
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
How you will rate urself in QTP in the range of 0 to 5
Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u
how can we group that these test cases only should be automated and in which order you execute that test cases?