accept a string & display whether a is present or not
Answer / mudaseer
vstr=lcase(inputbox("string plz"))
if instr(vstr,"a")>0 then
msgbox "present"
else
msgbox "absent"
end if
Is This Answer Correct ? | 0 Yes | 0 No |
int a=4857 i need output as 7584.without using any inbuild function?
Which keyword is used to declare a variable in the vbscript language?
. Program for sorting of numbers in vb script?
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.
How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool?
2 Answers IBM, Infosys, Wipro,
When are redim statement and preserve keyword used in the vbscript language?
How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?
How are arrays declared in the vbscript language?
How to pass the parameter from one function to another function in VB Scripting?
Why is it recommended to close the database connection every time after the work is completed?
How are values assigned to the variables in the vbscript language?
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble