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 / ruchi
String sCCnumber = "123456786543245"
sCCnumber=Substr(sCCnumber,12,4)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is defaultbasestate?
How to select a group of test cases in a testplan to run?
What are 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
What are the important aspects of a test case?
How to specify a browser extension to a web application?
How to open an existing silktest project?
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
Is there any way of passing values at runtime? Like scanf does in C.
How dom browser extension identify a web application ui object?
How to run a test case from a testplan file?
How to define new testplan attributes?
What is a test frame?
How to create and edit a testplan?
How to run all test cases in a testplan?