How to do text verification point in silktest for a
specific content.Suppose in the text editor, i have typed
some "aaaa,bbbb,cccc,dddd" in different lines. now i want
to capture only aaaa of first line from the text editor.
How can i do it.Can any one help me.
Answer Posted / nikhil
store the text in a string variable.
say STRING sContent = "aaaa,bbbb,cccc,dddd"
Now use getfield(sContent,',',1) which captures only aaaa.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to add objects of other pages to a test frame?
What is silktest host?
How to assign attribute values to test cases?
How to include a test case into a testplan?
How record a test case into a testplan automatically?
How to test your defaultbasestate?
How to create a test frame?
Where are the testplan attributes stored?
How dom browser extension identify a web application ui object?
How to download latest silk test trial version?
Is there any way of passing values at runtime? Like scanf does in C.
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
How to define new testplan attributes?
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
How to run a test case from a test script file?