Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

I am doing web application testing. I am using TestComplete tool, and VBScript for Scripting.
I want to read data into a variable and put this variable data into a my Application Text box.
Please take bellow example-
VB
Sub Login
dim code
code= Inputbox("Enter Code")
Sys.Process("IEXPLORE", 2).Page("http://.../..../webpages/EmployeeHomePage.aspx?PortalType=???").Panel("realpage").Form("aspnetForm").Table(0).Cell(1, 0).Table(0).Cell(0, 1).Table(0).Cell(3, 0).Panel("ctl00_mainContentPlaceHolder_UpdatePanel2").Panel("ctl00_mainContentPlaceHolder_EmployeeRegInfo").Table(0).Cell(0, 1).Table(0).Cell(1, 0).Table(0).Cell(1, 0).Textbox("ctl00_mainContentPlaceHolder_udcUserSignIn_txtCompany").SetText("Code")
End Sub 


Please help me how can I do it.
Posted
Updated 11-Oct-12 2:11am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900