i wrote vbscripit code in notepad i got error i am in
learning stage if u ps tell me what wrong in my code my
error is "object required descriptive at line one run time
error"and my code is "set usernameobj=Descriptive.Create()
usernameobj( "name").value="Username"
set passwordobj=Descriptive.Create()
passwordobj("name").value="password"
set signinobj=Descriptive.Create()
signinobj("name").value="sigin"
browser("gmail").page("gmail").WebEdit("usernameobj").set
("enter username")
Browser("gmail").Page("gmail").WebEdit("passwordobj").Set
secure.Crypt.Encrypt("enter password")
browser("gmail").page("gmail").WebButton("siginobj").click


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More VB Script Interview Questions

A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

0 Answers  


I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


How to create a function in vbscript?

0 Answers  


How can you create an object in vbscript?

0 Answers  


How to generate 3 digit random number?

3 Answers   IBM, Virtusa,






what do you mean .ota mobile format

0 Answers  


What is the use of the formatdatetime function in the vbscript language?

0 Answers  


Why is error handling required?

0 Answers  


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

0 Answers   College School Exams Tests,


What is the difference between a dictionary and an array?

0 Answers  


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

0 Answers  


When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

1 Answers  


Categories