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 |
how to call multiple scripts in QTP at a time
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
What is the difference between Normal mode and Fast mode ?
How you debug your script?
how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...
Can abody explain me Send keys concept
what r the 3 basic factor on which we determine to perform automation
what is command for executing files?
Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.
what is use of the object repository?
When to use Descriptive programing?