write a script to count no drives in file systems in qtp?
Answer / sandeep
Set FSO=CreateObject("scripting.filesystemobject")
Set coll=fso.Drives
MsgBox coll.Count
| Is This Answer Correct ? | 3 Yes | 0 No |
write a vbscript for traffic signal
What is the event handling in vbscript?
HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer
Which operator can be used to check if two numbers are equal or not in vbscript?
How will you get the last occurrence of one string within another string using vbscript?
accept an email id & validate it .email id should not exceed 25 characters the mail id should contain 3 characters excluding domain name,@ and .(dot) the last 3 characters of the domain should be net,com or org
How will you convert a string to lower case string using vbscript?
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
can anybody tell vb script code for alphanumeric and special character .which is used in qtp the name text field.
give me any information abou vb script books learn quckly
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.