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

what we do after completion of functional and regression testing

2 Answers  


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

0 Answers  


What frame work ur using in QTP in ur current company?

7 Answers   Accenture,


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)

6 Answers  


I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?

2 Answers  


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

3 Answers  


Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?

2 Answers  


1.what is the difference between childobjects and child items in qtp? 2.what is difference between a class and function? 3.can u convert ustimings to indian timings using vbscript? 4.i have scripts in one machine.can i run those scripts in another machine.how?

2 Answers   Genpact, Infosys, Symantic Space, TCS,


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

0 Answers   Autodesk, EDS, Wipro,


I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME

68 Answers   AZTEC,


what is error and fault in terms of software quality?

0 Answers   TCS,


can QTP works on LINUX platfom

2 Answers  


Categories