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 / uday kumar. a
Just use the mod operator.
Say x=1234567
then modValue=x mod 10000
The modValue has a value of 4567
Another technique is by using substring function.
Try solution for substring function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is silktest agent?
How load testing can be done with silk international?
What is the vo browser extension?
Can silktest switch browsers automatically?
What are the problems you faced while identifying an object in silk?
How record a test case into a testplan automatically?
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?
What is silktest host?
What is a silktest testplan?
What are the types of text lines in a testplan file?
How to create a test frame?
What are testplan attributes?
How to select a group of test cases in a testplan to run?
What is defaultbasestate?
What is multi-tagging?