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
What is silktest project?
How to include a test case into a testplan?
What are testplan attributes?
What is a test frame?
How to define an object verification in a test case?
What is the segue testing methodology?
How to run a test case from a test script file?
can any one please tell me the full form of .g.t in silktest datadriven method
Is there any way of passing values at runtime? Like scanf does in C.
How to run all test cases in a testplan?
What is 4test?
How record a test case into a testplan automatically?
How to assign attribute values to test cases?
How to define new testplan attributes?
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