There is a name "AJAY" how do u count no.of. "A" in that
name ?
Answer Posted / ravi
res=split("AJAY","A")
msgbox "No. of A's " & ubound(res)
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the types of object repositories? Which one is you using?
What is the difference between the keyword view and expert view?
what is the difference between modular framework & datadriven framework
Does QTP record on Objects created on XWindows Environment?
How do I get the QTP scripts result in xml format by using vb script function?
In qtp, how you can exit for loop?
What do you to script when objects are removed from application?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
What is data driver in qtp? Where we use it?
How to modify the text checkpoint?
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
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
What is a programmatic description?
what is the difference between development and testing
Why bpt?