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
How to define values for a testplan attribute?
What are testplan attributes?
What is the dom browser extension?
How to include a test case into a testplan?
What are the types of text lines in a testplan file?
How dom browser extension identify a web application ui object?
How to record a test case?
How to assign attribute values to test cases?
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
What is defaultbasestate?
What is silktest host?
can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest
How to create and edit a testplan?
What is the standard flow of execution of a test case?
can any one please tell me the full form of .g.t in silktest datadriven method