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



how to get the data from a winedit box in vb scripting and store it in a variable if data contains &..

Answer / dinesh1433

strValue=Window().WinEdit().GetRoProperty("value")

Is This Answer Correct ?    0 Yes 0 No

how to get the data from a winedit box in vb scripting and store it in a variable if data contains &..

Answer / cnu_thatavarthi

Dim strValue
strValue = Browser().Page().WinEdit().getRoproperty("supported property Name")

Msgbox strValue

Is This Answer Correct ?    0 Yes 1 No

how to get the data from a winedit box in vb scripting and store it in a variable if data contains &..

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

Post New Answer

More QTP Interview Questions

how to call multiple scripts in QTP at a time

3 Answers   IBM,


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

0 Answers  


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)

5 Answers  


What is the difference between Normal mode and Fast mode ?

1 Answers   AZTEC,


How you debug your script?

0 Answers  






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...

1 Answers  


Can abody explain me Send keys concept

1 Answers   Cap Gemini,


what r the 3 basic factor on which we determine to perform automation

6 Answers   AppLabs,


what is command for executing files?

0 Answers   VSoft,


Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.

6 Answers  


what is use of the object repository?

4 Answers  


When to use Descriptive programing?

2 Answers   Wipro,


Categories