how to count spaces in a given string ex: "this is jagadeesh"
in QTP with simple functional script
Answer Posted / nitin kumar
str="this is jagadish"
k=split(str," ")
msgbox("spaces are "&ubound(k))
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can any one send me the QTP Basic Coding Samples?
write a script to verify the image path(src property) of the images which are in web pages.
How to break the object spy ?
tell me QTP standards ?plz
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
how did u use automating testing tools in ur job?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
What is the meaning Work bench?
How to create scenario selector
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Is it possible to call from one action to another action in qtp?
Explain the benefits of quick test pro(qtp)?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)