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
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
What is multi-tagging?
How to create and edit a testplan?
How load testing can be done with silk international?
How to include a test case into a testplan?
How to define new testplan attributes?
What are the default testplan attributes?
What is 4test?
How to select a group of test cases in a testplan to run?
How to test your defaultbasestate?
How dom browser extension identify a web application ui object?
How to download latest silk test trial version?
What is the syntax of ui object identifier used by dom extension?
What is stored in a test frame?
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