how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)
Answers were Sorted based on User's Feedback
strValue=Window().WinEdit().GetRoProperty("value")
| Is This Answer Correct ? | 0 Yes | 0 No |
Dim strValue
strValue = Browser().Page().WinEdit().getRoproperty("supported property Name")
Msgbox strValue
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sisira
set desc=description.create
desc("micclass").value="WinEdit"
set child_obj=Dialog(portal).childobjects(desc)
no_objects=child_obj.count
for i=0 to no_objects-1
captured_data=child_obj(i).getroproperty("text")
if instr(captured_data,"-") then
requireddata=captured_data
exit for
end if
next
msgbox "winEdit present with" &"_ "&"symbol"
| Is This Answer Correct ? | 0 Yes | 2 No |
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
How we can add actions in the test using QTP?
How you are developing the script? Using record and play back or manual?
How u prepare Test result summary in QTp?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
what is frame work?
How to create scenario selector
If QTP not recognizing using repository while executing, how can we go forward
1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?
If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test
How can we call Winrunner functions from QTP?
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?