I wrote the vbscript code on notepad i was geeting run time
error "object required line 1" my code is
set usernameobj=Descriptive.Create()
usernameobj( "name").value="Username"
set passwordobj=Descriptive.Create()
passwordobj("name").value="password"
set signinobj=Descriptive.Create()
signin("name").value="sigin"
browser("gmail").page("gmail").WebEdit("usernameobj").set
("enter username")
Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec
ure.Crypt.Encrypt("entr password")
browser("gmail").page("gmail").WebButton("siginobj").click
pls tell me whats wrong
Answer Posted / niranjani
Hi,
You have created signinobj but while describing you have given signin, it should be signinobj
set signinobj=Descriptive.Create()
signin("name").value="sigin"
fine below the updated code
set signinobj=Descriptive.Create()
signinobj("name").value="sigin"
i hope it should work
all the best
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
In what way program "hello world" you can write in vbscript?
What is purpose of scripting.filesystemobject class in vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
1. How do declare public variable in vb scripts?
How will you get the smallest subscript of an array in vbscript?
What are class variables?
How strcomp function works?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
Explain about the support of asp for vb script functionality?
Explain about scrrun.dll in vbscript?
What is the use of the date function in the vbscript language?
can anyone tell me the procedure of interview held in applabs
Can automation testing find ssame no. of bugs what we can find by manual testing?