write a text script to display * as below
**********
**** ****
*** ***
** **
* *
* *
** **
*** ***
**** ****
**********
Answer / chandra
for i = 1 to 5
for j = 1 to i
k = k & "*"
next
k = k&vbcrlf
Next
Msgbox k
| Is This Answer Correct ? | 0 Yes | 3 No |
Mention what is vbscript?
What are the naming conventions while declaring a variable in the vbscript language?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
When to use function procedures and what are its characteristics?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
Explain about arrays in vb script?
How to pass the parameter from one function to another function in VB Scripting?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Which in-built function related to an array joins substrings into one string in the vbscript language?
I am running a windows based application.While running the script on QTP ,The Application pop-up an Error Message as "object Disabled" in two different scenarios Scenario 1-->The Application pop-up up a Message for Max Session Reached(as the application is set to hold 2 session and if if crosses the pre-defined limit then the error message pop-up) Scenario 2-->When Network connectivity is disabled the Application screen gets greyed out in colour with no operation possible. Now through Exception handling features in QTP ,we need to do the following For Scenarion 1-->Through Exception handling we need to just accept the Message pop-up in the Application and and resume with the call function as is for Scenario 2--> Through Exception Handling featutes on QTP we need to shut down the client , restart the client and resume the call functions as it is Note: The Application returns an Error Message as "object disabled" in both the cases i.e for pop-up message and when the Apllication getting greyed out due to Network failure how can we enhance the script in such a way that for the same error message retured by the application in two different and how to handle them????
a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?
When are redim statement and preserve keyword used in the vbscript language?