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 create flat file datasubmission in qtp

0 Answers  


How to Map network drive in QTP

3 Answers  


I want to learn QTP Online, where can I get quality training?

15 Answers   CSC,


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


Why you are Using Descriptive programming instead of Object Repository?

11 Answers  






write a script for get the following result: username password frm the string1="A=username" string2="B=password"

3 Answers   Oracle,


Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri

1 Answers  


what are the challenges you have faced while testing web based application using the automation tools ?

0 Answers  


How will you check that your test cases covered all the requirements?

0 Answers  


Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx

5 Answers  


What are Error handling other than Recovery scenario manager?

3 Answers  


What is SQL injection?

2 Answers   CTS,


Categories