Imagine you have a string variable that holder a credit
card (16digit). There are multiple ways of obtaining last
four digits of this number programmatically on a run time.
Name one; for practical purpose variables name is sCCnumber?
Answer Posted / smitha
Use Right function
sSubstring = Right (sString, iNumChars)
Eg. sCCnumber = "123456786543245"
Print ( right (sCCnumber ,4)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V
How to assign attribute values to test cases?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
How load testing can be done with silk international?
What is stored in a test frame?
How to open an existing silktest project?
How to record a test case?
Can silktest run on mac?
How to specify a browser extension to a web application?
Is there any way of passing values at runtime? Like scanf does in C.
What are the important aspects of a test case?
Where is a testplan stored?
What is the syntax of ui object identifier used by dom extension?
What is silktest host?
What are the types of text lines in a testplan file?