how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / rajeswari
correct code is
charcount=Len(mystring)-Len(replace(Mystring,"s",""))
this one is correct
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
can the activities of test case design be automated?
Why script error occur in between recording in qtp?
What are benefits of qtp?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
How does quicktest professional (qtp) identifies the object in the application?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
Explain about datafile/verification of date file when file is not available in local system?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
What is the latest version of qtp?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
Diff b/w test scenario's and test Procedures?
Can U Explain about QTP tool from older version to latest version also its differences?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
Explain the difference between data driven testing and parameterization ?