w r p syed then output was deys and click eysd and click ysde
and click sdey and click deys and click eysd............

Answers were Sorted based on User's Feedback



w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and c..

Answer / testengineer

x=Inputbox("Enter a String:")
l=len(x)
y=strreverse(x)
msgbox y
do until i=2
k=right(y,l-1)&left(y,1)
msgbox k
y=k
loop

Is This Answer Correct ?    3 Yes 0 No

w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and c..

Answer / syed

tell me the answer any one..............

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

write a vb script to calculate factorial of a number?

5 Answers  


Please Example programms on vbscript 1)writing functions and calling functions

2 Answers   CIL, TCS,


Explain about constants in vb script?

0 Answers  


How will you trim the spaces on the left of a string using vbscript?

1 Answers  


How can you destroy an object in vbscript?

0 Answers  






Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

0 Answers  


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????

2 Answers   Sasken,


i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

0 Answers  


Explain a few date functions in vbscript

0 Answers  


How to create a function in vbscript?

0 Answers  


How to assign a numeric value to a variable?

0 Answers  


how to increase the values in text box in a given text box increament by two values by clicking on button

0 Answers  


Categories