SlideShare a Scribd company logo
For more QTP Scripts, www.ramupalanki.com
 1. How to select particular property in weblist from browser?



    First open object repository then click add objects then go to naukri homepage and click naukri
    homepage title bar then select weblist or entire properties then click ok.



    Now go to qtp then type script



    browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").WebList("qf[]").Select
    "#3"



    output




    browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").WebList("qf[]").Select
    "#2"



    output




 2. How to set values in web edit class?




www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
       First login naukri account then go to others then go to personal details then add pincode
       property into object repository the go to qtp type the script



       In this line we have set the value as 23 to the pincode edit box... this is "SET METHOD"




       Browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").Set "23"



       Output




Browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").Set "604202"


www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com




3.settoproperty and gettoproperty and getroproperty

In this line we have set the "text property" value as 30 using the "Settoproperty"
now the testobject i.e before run time the value for the pincode edit box will be "30"
like this we can set the value for any property of a test object
In this line will also work but we can't see the result.


browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").SetTOProperty "text",30

we can check what value we have set to the pincode edit box by using "GETTOPROPERTY"
OPTION

a= browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").GetTOProperty
("text")

b= browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").GetROProperty
("text")

msgbox a

msgbox b

output

a=30


www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
b=empty



There is no setroproperty. Test object contains only settoproperty and gettoproperty. Runtime object
contains only getro property.



4.test settings contains 7 tabs

1.properties,2.run,3.resourses,4.parameters,5.environment,6.web,7.recovery

5. how to multiple select at the same time

First login naukri account and go to work authorization property and add objects the type the script



browser("Naukri.com - Search
Jobs").page("Mynaukri").WebList("workAuthOtherCountries[]").Select"#1"

browser("Naukri.com - Search
Jobs").page("Mynaukri").WebList("workAuthOtherCountries[]").extendSelect"#3"

browser("Naukri.com - Search
Jobs").page("Mynaukri").WebList("workAuthOtherCountries[]").extendSelect"#5"



output




6. how to get all the link count or weblist count or web element count in the naukri home page

Set descobj = description.Create

descobj("micclass").value= "WebList"



www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
set weblists = browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(descobj)

totweblist = weblists.count

print totweblist

For i = 0 to totweblist-1

print weblists(i).getroproperty("Name")

Next

Output




Set descobj = description.Create

descobj("micclass").value= "Link"

set links = browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(descobj)

totlink = links.count

print totlink

For i = 0 to totlink-1

print links(i).getroproperty("Name")



www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
Next

Output




         7.

         x=day(date)

         y=month(date)

         z=year(date)

         If x<10 Then

                x1="0"&x


www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
               else

               x1=x

      End If

      If y<10 Then

               y1="0"&y

               else

               y1=y

      End If

      msgbox x1&"/"& y1 &"/"&z




      8.how to select particular property from weblist and how to set value in webedit ?




      browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").weblist("qf[]").Select"#3"

      a=browser("Naukri.com - Search Jobs").Page("Naukri.com - Search
      Jobs").weblist("qf[]").getroproperty("value")

      msgbox a



      browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").Set"604202"

      a=Browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").
      GetROProperty("value")

      msgbox a




9. How to find Data Type of a Variable?




www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
The data type of a variable can be indentified in two VBScript built-in
functions.

   1. Vartype
   2. Typename

      Vartype returns a numeric value indicating the sub datatype of a
      variable.

 The below table contains return values that indicate respective subtypes.

                     Sub
Return Value                           Description
                   Datatype
      0            vbEmpty   Empty (uninitialized)
      1             vbNull   Null (no valid data)
      2            vbInteger Integer
      3             vbLong   Long integer
                             Single-precision floating-point
      4            vbSingle
                             number
                             Double-precision floating-point
      5            vbDouble
                             number
       6          vbCurrency Currency
       7            vbDate   Date
       8           vbString String
       9           vbObject Automation object
      10            vbError  Error
      11          vbBoolean Boolean
                             Variant (used only with arrays
      12           vbVariant
                             of Variants)
     13          vbDataObjectA data-access object
     17             vbByte   Byte
    8192            vbArray  Array




      Dim x

      x=10.2

      msgbox vartype(x)


www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com

      output



      5



Typename directly returns the name of the Sub Datatype of a variable.


Sub
              Description
Datatype
Byte          Byte value
Integer       Integer value
Long          Long integer value
Single        Single-precision floating-point value
Double        Double-precision floating-point value
Currency      Currency value
Decimal       Decimal value
Date          Date or time value
String        Character string value
Boolean       Boolean value; True or False
Empty         Unitialized
Null          No valid data
<object type> Actual type name of an object
Object        Generic object
Unknown       Unknown object type
              Object variable that doesn't yet refer to an
Nothing
              object instance
Error         Error




      dim x

      x=10.6


www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
        msgbox typename(x)



        output



        double




10. count the number of child objects of flight reservation application


invokeapplication"E:Program FilesMercury InteractiveQuickTest
Professionalsamplesflightappflight4a"

Set child_obj=Dialog("text:=Login").ChildObjects

print child_obj.count



11.child objects method(google page)

Set child_obj = description.Create

child_obj("micclass").value= "WebEdit"

set x = browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(child_obj)

totwebedit = x.count

print totwebedit

For i = 0 to totwebedit-1

print x(i).getroproperty("Name")

Next




www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
12. how to read data from notepad file?

‘How to read text from notepad using filesystemobject



Set x=createobject("Scripting.FileSystemObject")

Set y= x.OpenTextFile("E:Documents and
SettingsSudhaDesktopgod.txt",1)

While not y.atendofstream

    a=y.readline()

print a

Wend




13. how to write data in the new notepad file?

Set x=createobject("Scripting.FileSystemObject")

Set z= x.OpenTextFile("E:Documents and
SettingsSudhaDesktoplord.txt",2)

z.writeline("One")

z.writeline("two")

z.writeline("three")

z.writeline("four")

z.writeline("five")

14. how to read data from one notepad to wrte another notepad file

Set x=createobject("Scripting.FileSystemObject")


www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com
Set y= x.OpenTextFile("E:Documents and
SettingsSudhaDesktopgod.txt",1)

Set z= x.OpenTextFile("E:Documents and
SettingsSudhaDesktoplord.txt",2)

While not y.atendofstream

    a=y.readline()

          z.writeline(a)

print a

Wend


15.how to replace from one particular notepad to another notepad

Set x=createobject("Scripting.FileSystemObject")

Set y= x.OpenTextFile("E:Documents and
SettingsSudhaDesktopgod.txt",1)

Set z= x.OpenTextFile("E:Documents and
SettingsSudhaDesktoplord.txt",2)

While not y.atendofstream

    a=y.readline()

          If instr(1,a,"99402")   Then

 a=replace(a,99,88)

end if

          z.writeline(a)

print a

Wend

www.ramupalanki.com
For more QTP Scripts, www.ramupalanki.com


16. how to set value in web page using descriptive

systemutil.Run "iexplore.exe","http://google.com"

Set x=description.Create

x("micclass").value="webedit"

browser("micclass:=browser").page("micclass:=page").webedit("index:=1"
).set"oshoworld"

browser("micclass:=browser").page("micclass:=page").webbutton("index:
=1").Click




www.ramupalanki.com
Ad

More Related Content

What's hot (20)

Keeping track of state in asynchronous callbacks
Keeping track of state in asynchronous callbacksKeeping track of state in asynchronous callbacks
Keeping track of state in asynchronous callbacks
Paul Houle
 
Practical pairing of generative programming with functional programming.
Practical pairing of generative programming with functional programming.Practical pairing of generative programming with functional programming.
Practical pairing of generative programming with functional programming.
Eugene Lazutkin
 
Finagle and Java Service Framework at Pinterest
Finagle and Java Service Framework at PinterestFinagle and Java Service Framework at Pinterest
Finagle and Java Service Framework at Pinterest
Pavan Chitumalla
 
Java Concurrency Gotchas
Java Concurrency GotchasJava Concurrency Gotchas
Java Concurrency Gotchas
Alex Miller
 
Transactional Memory for Smalltalk
Transactional Memory for SmalltalkTransactional Memory for Smalltalk
Transactional Memory for Smalltalk
Lukas Renggli
 
RxJava for Android - GDG DevFest Ukraine 2015
RxJava for Android - GDG DevFest Ukraine 2015RxJava for Android - GDG DevFest Ukraine 2015
RxJava for Android - GDG DevFest Ukraine 2015
Constantine Mars
 
Qtp - Introduction to fundamentals of vbscript
Qtp - Introduction to fundamentals of vbscriptQtp - Introduction to fundamentals of vbscript
Qtp - Introduction to fundamentals of vbscript
Vibrant Technologies & Computers
 
Best Practices in Qt Quick/QML - Part III
Best Practices in Qt Quick/QML - Part IIIBest Practices in Qt Quick/QML - Part III
Best Practices in Qt Quick/QML - Part III
ICS
 
Vbscript
VbscriptVbscript
Vbscript
Abhishek Kesharwani
 
Best Practices in Qt Quick/QML - Part II
Best Practices in Qt Quick/QML - Part IIBest Practices in Qt Quick/QML - Part II
Best Practices in Qt Quick/QML - Part II
ICS
 
Serving QML applications over the network
Serving QML applications over the networkServing QML applications over the network
Serving QML applications over the network
Jeremy Lainé
 
Basic vbscript for qtp
Basic vbscript for qtpBasic vbscript for qtp
Basic vbscript for qtp
Cuong Tran Van
 
QTP VB Script Trainings
QTP VB Script TrainingsQTP VB Script Trainings
QTP VB Script Trainings
Ali Imran
 
The Ring programming language version 1.5.3 book - Part 92 of 184
The Ring programming language version 1.5.3 book - Part 92 of 184The Ring programming language version 1.5.3 book - Part 92 of 184
The Ring programming language version 1.5.3 book - Part 92 of 184
Mahmoud Samir Fayed
 
JavaScript for real men
JavaScript for real menJavaScript for real men
JavaScript for real men
Ivano Malavolta
 
Best Practices in Qt Quick/QML - Part I
Best Practices in Qt Quick/QML - Part IBest Practices in Qt Quick/QML - Part I
Best Practices in Qt Quick/QML - Part I
ICS
 
Practical QML - Key Navigation, Dynamic Language and Theme Change
Practical QML - Key Navigation, Dynamic Language and Theme ChangePractical QML - Key Navigation, Dynamic Language and Theme Change
Practical QML - Key Navigation, Dynamic Language and Theme Change
Burkhard Stubert
 
Let's JavaScript
Let's JavaScriptLet's JavaScript
Let's JavaScript
Paweł Dorofiejczyk
 
ADG Poznań - Kotlin for Android developers
ADG Poznań - Kotlin for Android developersADG Poznań - Kotlin for Android developers
ADG Poznań - Kotlin for Android developers
Bartosz Kosarzycki
 
Vbscript
VbscriptVbscript
Vbscript
Deepthi Reddy
 
Keeping track of state in asynchronous callbacks
Keeping track of state in asynchronous callbacksKeeping track of state in asynchronous callbacks
Keeping track of state in asynchronous callbacks
Paul Houle
 
Practical pairing of generative programming with functional programming.
Practical pairing of generative programming with functional programming.Practical pairing of generative programming with functional programming.
Practical pairing of generative programming with functional programming.
Eugene Lazutkin
 
Finagle and Java Service Framework at Pinterest
Finagle and Java Service Framework at PinterestFinagle and Java Service Framework at Pinterest
Finagle and Java Service Framework at Pinterest
Pavan Chitumalla
 
Java Concurrency Gotchas
Java Concurrency GotchasJava Concurrency Gotchas
Java Concurrency Gotchas
Alex Miller
 
Transactional Memory for Smalltalk
Transactional Memory for SmalltalkTransactional Memory for Smalltalk
Transactional Memory for Smalltalk
Lukas Renggli
 
RxJava for Android - GDG DevFest Ukraine 2015
RxJava for Android - GDG DevFest Ukraine 2015RxJava for Android - GDG DevFest Ukraine 2015
RxJava for Android - GDG DevFest Ukraine 2015
Constantine Mars
 
Best Practices in Qt Quick/QML - Part III
Best Practices in Qt Quick/QML - Part IIIBest Practices in Qt Quick/QML - Part III
Best Practices in Qt Quick/QML - Part III
ICS
 
Best Practices in Qt Quick/QML - Part II
Best Practices in Qt Quick/QML - Part IIBest Practices in Qt Quick/QML - Part II
Best Practices in Qt Quick/QML - Part II
ICS
 
Serving QML applications over the network
Serving QML applications over the networkServing QML applications over the network
Serving QML applications over the network
Jeremy Lainé
 
Basic vbscript for qtp
Basic vbscript for qtpBasic vbscript for qtp
Basic vbscript for qtp
Cuong Tran Van
 
QTP VB Script Trainings
QTP VB Script TrainingsQTP VB Script Trainings
QTP VB Script Trainings
Ali Imran
 
The Ring programming language version 1.5.3 book - Part 92 of 184
The Ring programming language version 1.5.3 book - Part 92 of 184The Ring programming language version 1.5.3 book - Part 92 of 184
The Ring programming language version 1.5.3 book - Part 92 of 184
Mahmoud Samir Fayed
 
Best Practices in Qt Quick/QML - Part I
Best Practices in Qt Quick/QML - Part IBest Practices in Qt Quick/QML - Part I
Best Practices in Qt Quick/QML - Part I
ICS
 
Practical QML - Key Navigation, Dynamic Language and Theme Change
Practical QML - Key Navigation, Dynamic Language and Theme ChangePractical QML - Key Navigation, Dynamic Language and Theme Change
Practical QML - Key Navigation, Dynamic Language and Theme Change
Burkhard Stubert
 
ADG Poznań - Kotlin for Android developers
ADG Poznań - Kotlin for Android developersADG Poznań - Kotlin for Android developers
ADG Poznań - Kotlin for Android developers
Bartosz Kosarzycki
 

Viewers also liked (8)

Diff between win runner vs and qtp
Diff between win runner vs and qtpDiff between win runner vs and qtp
Diff between win runner vs and qtp
Ramu Palanki
 
Basic Differences Between Winrunner And Qtp
Basic Differences Between Winrunner And QtpBasic Differences Between Winrunner And Qtp
Basic Differences Between Winrunner And Qtp
wlxfeedpartner1
 
WinRunner Training
WinRunner TrainingWinRunner Training
WinRunner Training
sunny.deb
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorial
sasidhar
 
QTP Training by INFOTECH
QTP Training by INFOTECHQTP Training by INFOTECH
QTP Training by INFOTECH
Pravinsinh
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
Himanshu
 
Ppt Qtp
Ppt QtpPpt Qtp
Ppt Qtp
rosaleenm
 
Load Runner
Load RunnerLoad Runner
Load Runner
Shama Ahsan
 
Diff between win runner vs and qtp
Diff between win runner vs and qtpDiff between win runner vs and qtp
Diff between win runner vs and qtp
Ramu Palanki
 
Basic Differences Between Winrunner And Qtp
Basic Differences Between Winrunner And QtpBasic Differences Between Winrunner And Qtp
Basic Differences Between Winrunner And Qtp
wlxfeedpartner1
 
WinRunner Training
WinRunner TrainingWinRunner Training
WinRunner Training
sunny.deb
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorial
sasidhar
 
QTP Training by INFOTECH
QTP Training by INFOTECHQTP Training by INFOTECH
QTP Training by INFOTECH
Pravinsinh
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
Himanshu
 
Ad

Similar to Qtp realtime scripts (20)

Qtp test
Qtp testQtp test
Qtp test
G.C Reddy
 
Functional Core, Reactive Shell
Functional Core, Reactive ShellFunctional Core, Reactive Shell
Functional Core, Reactive Shell
Giovanni Lodi
 
Art of Javascript
Art of JavascriptArt of Javascript
Art of Javascript
Tarek Yehia
 
JavaScript Foundations Day1
JavaScript Foundations Day1JavaScript Foundations Day1
JavaScript Foundations Day1
Troy Miles
 
ChakraCore: analysis of JavaScript-engine for Microsoft Edge
ChakraCore: analysis of JavaScript-engine for Microsoft EdgeChakraCore: analysis of JavaScript-engine for Microsoft Edge
ChakraCore: analysis of JavaScript-engine for Microsoft Edge
PVS-Studio
 
BDD, ATDD, Page Objects: The Road to Sustainable Web Testing
BDD, ATDD, Page Objects: The Road to Sustainable Web TestingBDD, ATDD, Page Objects: The Road to Sustainable Web Testing
BDD, ATDD, Page Objects: The Road to Sustainable Web Testing
John Ferguson Smart Limited
 
R Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioR Tanenbaum .Net Portfolio
R Tanenbaum .Net Portfolio
Robert Tanenbaum
 
How do you create a programming language for the JVM?
How do you create a programming language for the JVM?How do you create a programming language for the JVM?
How do you create a programming language for the JVM?
Federico Tomassetti
 
DIWE - Advanced PHP Concepts
DIWE - Advanced PHP ConceptsDIWE - Advanced PHP Concepts
DIWE - Advanced PHP Concepts
Rasan Samarasinghe
 
Qtp Training Deepti 3 Of 44256
Qtp Training Deepti 3 Of 44256Qtp Training Deepti 3 Of 44256
Qtp Training Deepti 3 Of 44256
Azhar Satti
 
Qtp Training
Qtp Training Qtp Training
Qtp Training
techgajanan
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 
Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017
Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017
Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017
Codemotion
 
Max Koretskyi "Why are Angular and React so fast?"
Max Koretskyi "Why are Angular and React so fast?"Max Koretskyi "Why are Angular and React so fast?"
Max Koretskyi "Why are Angular and React so fast?"
Fwdays
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
Sehwan Noh
 
A Spin-off: CryEngine 3 SDK Checked with CppCat
A Spin-off: CryEngine 3 SDK Checked with CppCatA Spin-off: CryEngine 3 SDK Checked with CppCat
A Spin-off: CryEngine 3 SDK Checked with CppCat
Andrey Karpov
 
Javascript Everywhere
Javascript EverywhereJavascript Everywhere
Javascript Everywhere
Pascal Rettig
 
Introduction to Client-Side Javascript
Introduction to Client-Side JavascriptIntroduction to Client-Side Javascript
Introduction to Client-Side Javascript
Julie Iskander
 
Hybrid apps - Your own mini Cordova
Hybrid apps - Your own mini CordovaHybrid apps - Your own mini Cordova
Hybrid apps - Your own mini Cordova
Ayman Mahfouz
 
descriptive programming
descriptive programmingdescriptive programming
descriptive programming
Anand Dhana
 
Functional Core, Reactive Shell
Functional Core, Reactive ShellFunctional Core, Reactive Shell
Functional Core, Reactive Shell
Giovanni Lodi
 
Art of Javascript
Art of JavascriptArt of Javascript
Art of Javascript
Tarek Yehia
 
JavaScript Foundations Day1
JavaScript Foundations Day1JavaScript Foundations Day1
JavaScript Foundations Day1
Troy Miles
 
ChakraCore: analysis of JavaScript-engine for Microsoft Edge
ChakraCore: analysis of JavaScript-engine for Microsoft EdgeChakraCore: analysis of JavaScript-engine for Microsoft Edge
ChakraCore: analysis of JavaScript-engine for Microsoft Edge
PVS-Studio
 
BDD, ATDD, Page Objects: The Road to Sustainable Web Testing
BDD, ATDD, Page Objects: The Road to Sustainable Web TestingBDD, ATDD, Page Objects: The Road to Sustainable Web Testing
BDD, ATDD, Page Objects: The Road to Sustainable Web Testing
John Ferguson Smart Limited
 
R Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioR Tanenbaum .Net Portfolio
R Tanenbaum .Net Portfolio
Robert Tanenbaum
 
How do you create a programming language for the JVM?
How do you create a programming language for the JVM?How do you create a programming language for the JVM?
How do you create a programming language for the JVM?
Federico Tomassetti
 
Qtp Training Deepti 3 Of 44256
Qtp Training Deepti 3 Of 44256Qtp Training Deepti 3 Of 44256
Qtp Training Deepti 3 Of 44256
Azhar Satti
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 
Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017
Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017
Unethical JavaScript - Giorgio Natili - Codemotion Rome 2017
Codemotion
 
Max Koretskyi "Why are Angular and React so fast?"
Max Koretskyi "Why are Angular and React so fast?"Max Koretskyi "Why are Angular and React so fast?"
Max Koretskyi "Why are Angular and React so fast?"
Fwdays
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
Sehwan Noh
 
A Spin-off: CryEngine 3 SDK Checked with CppCat
A Spin-off: CryEngine 3 SDK Checked with CppCatA Spin-off: CryEngine 3 SDK Checked with CppCat
A Spin-off: CryEngine 3 SDK Checked with CppCat
Andrey Karpov
 
Javascript Everywhere
Javascript EverywhereJavascript Everywhere
Javascript Everywhere
Pascal Rettig
 
Introduction to Client-Side Javascript
Introduction to Client-Side JavascriptIntroduction to Client-Side Javascript
Introduction to Client-Side Javascript
Julie Iskander
 
Hybrid apps - Your own mini Cordova
Hybrid apps - Your own mini CordovaHybrid apps - Your own mini Cordova
Hybrid apps - Your own mini Cordova
Ayman Mahfouz
 
descriptive programming
descriptive programmingdescriptive programming
descriptive programming
Anand Dhana
 
Ad

More from Ramu Palanki (20)

Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answers
Ramu Palanki
 
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
Ramu Palanki
 
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
Ramu Palanki
 
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginners
Ramu Palanki
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
Ramu Palanki
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
Ramu Palanki
 
Qtp complete guide for all
Qtp complete guide for allQtp complete guide for all
Qtp complete guide for all
Ramu Palanki
 
Qtp compare two xml files
Qtp compare two xml filesQtp compare two xml files
Qtp compare two xml files
Ramu Palanki
 
Qtp change excel cell color with condition
Qtp change excel cell color with conditionQtp change excel cell color with condition
Qtp change excel cell color with condition
Ramu Palanki
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
Ramu Palanki
 
Qtp certification questions and tutorial
Qtp certification questions and tutorialQtp certification questions and tutorial
Qtp certification questions and tutorial
Ramu Palanki
 
Qtp certification questions2
Qtp certification questions2Qtp certification questions2
Qtp certification questions2
Ramu Palanki
 
Qtp best tutorial
Qtp best tutorialQtp best tutorial
Qtp best tutorial
Ramu Palanki
 
Qtp basic stuff
Qtp basic stuffQtp basic stuff
Qtp basic stuff
Ramu Palanki
 
Qtp automation estimation techniques
Qtp automation estimation techniquesQtp automation estimation techniques
Qtp automation estimation techniques
Ramu Palanki
 
Qtp 11 new enhacements in
Qtp 11 new enhacements inQtp 11 new enhacements in
Qtp 11 new enhacements in
Ramu Palanki
 
Qtp sample resume
Qtp sample resumeQtp sample resume
Qtp sample resume
Ramu Palanki
 
Qtp passing parameters between actions
Qtp passing parameters between actionsQtp passing parameters between actions
Qtp passing parameters between actions
Ramu Palanki
 
Qtp wsh scripts examples
Qtp wsh scripts examplesQtp wsh scripts examples
Qtp wsh scripts examples
Ramu Palanki
 
Qtp sample certification questions and answers
Qtp sample certification questions and answersQtp sample certification questions and answers
Qtp sample certification questions and answers
Ramu Palanki
 
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
Ramu Palanki
 
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginners
Ramu Palanki
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
Ramu Palanki
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
Ramu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
Ramu Palanki
 
Qtp complete guide for all
Qtp complete guide for allQtp complete guide for all
Qtp complete guide for all
Ramu Palanki
 
Qtp compare two xml files
Qtp compare two xml filesQtp compare two xml files
Qtp compare two xml files
Ramu Palanki
 
Qtp change excel cell color with condition
Qtp change excel cell color with conditionQtp change excel cell color with condition
Qtp change excel cell color with condition
Ramu Palanki
 
Qtp certification questions
Qtp certification questionsQtp certification questions
Qtp certification questions
Ramu Palanki
 
Qtp certification questions and tutorial
Qtp certification questions and tutorialQtp certification questions and tutorial
Qtp certification questions and tutorial
Ramu Palanki
 
Qtp certification questions2
Qtp certification questions2Qtp certification questions2
Qtp certification questions2
Ramu Palanki
 
Qtp automation estimation techniques
Qtp automation estimation techniquesQtp automation estimation techniques
Qtp automation estimation techniques
Ramu Palanki
 
Qtp 11 new enhacements in
Qtp 11 new enhacements inQtp 11 new enhacements in
Qtp 11 new enhacements in
Ramu Palanki
 
Qtp passing parameters between actions
Qtp passing parameters between actionsQtp passing parameters between actions
Qtp passing parameters between actions
Ramu Palanki
 
Qtp wsh scripts examples
Qtp wsh scripts examplesQtp wsh scripts examples
Qtp wsh scripts examples
Ramu Palanki
 

Recently uploaded (20)

AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 

Qtp realtime scripts

  • 1. For more QTP Scripts, www.ramupalanki.com 1. How to select particular property in weblist from browser? First open object repository then click add objects then go to naukri homepage and click naukri homepage title bar then select weblist or entire properties then click ok. Now go to qtp then type script browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").WebList("qf[]").Select "#3" output browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").WebList("qf[]").Select "#2" output 2. How to set values in web edit class? www.ramupalanki.com
  • 2. For more QTP Scripts, www.ramupalanki.com First login naukri account then go to others then go to personal details then add pincode property into object repository the go to qtp type the script In this line we have set the value as 23 to the pincode edit box... this is "SET METHOD" Browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").Set "23" Output Browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").Set "604202" www.ramupalanki.com
  • 3. For more QTP Scripts, www.ramupalanki.com 3.settoproperty and gettoproperty and getroproperty In this line we have set the "text property" value as 30 using the "Settoproperty" now the testobject i.e before run time the value for the pincode edit box will be "30" like this we can set the value for any property of a test object In this line will also work but we can't see the result. browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").SetTOProperty "text",30 we can check what value we have set to the pincode edit box by using "GETTOPROPERTY" OPTION a= browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").GetTOProperty ("text") b= browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").GetROProperty ("text") msgbox a msgbox b output a=30 www.ramupalanki.com
  • 4. For more QTP Scripts, www.ramupalanki.com b=empty There is no setroproperty. Test object contains only settoproperty and gettoproperty. Runtime object contains only getro property. 4.test settings contains 7 tabs 1.properties,2.run,3.resourses,4.parameters,5.environment,6.web,7.recovery 5. how to multiple select at the same time First login naukri account and go to work authorization property and add objects the type the script browser("Naukri.com - Search Jobs").page("Mynaukri").WebList("workAuthOtherCountries[]").Select"#1" browser("Naukri.com - Search Jobs").page("Mynaukri").WebList("workAuthOtherCountries[]").extendSelect"#3" browser("Naukri.com - Search Jobs").page("Mynaukri").WebList("workAuthOtherCountries[]").extendSelect"#5" output 6. how to get all the link count or weblist count or web element count in the naukri home page Set descobj = description.Create descobj("micclass").value= "WebList" www.ramupalanki.com
  • 5. For more QTP Scripts, www.ramupalanki.com set weblists = browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(descobj) totweblist = weblists.count print totweblist For i = 0 to totweblist-1 print weblists(i).getroproperty("Name") Next Output Set descobj = description.Create descobj("micclass").value= "Link" set links = browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(descobj) totlink = links.count print totlink For i = 0 to totlink-1 print links(i).getroproperty("Name") www.ramupalanki.com
  • 6. For more QTP Scripts, www.ramupalanki.com Next Output 7. x=day(date) y=month(date) z=year(date) If x<10 Then x1="0"&x www.ramupalanki.com
  • 7. For more QTP Scripts, www.ramupalanki.com else x1=x End If If y<10 Then y1="0"&y else y1=y End If msgbox x1&"/"& y1 &"/"&z 8.how to select particular property from weblist and how to set value in webedit ? browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").weblist("qf[]").Select"#3" a=browser("Naukri.com - Search Jobs").Page("Naukri.com - Search Jobs").weblist("qf[]").getroproperty("value") msgbox a browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode").Set"604202" a=Browser("Naukri.com - Search Jobs").Page("Mynaukri").WebEdit("pincode"). GetROProperty("value") msgbox a 9. How to find Data Type of a Variable? www.ramupalanki.com
  • 8. For more QTP Scripts, www.ramupalanki.com The data type of a variable can be indentified in two VBScript built-in functions. 1. Vartype 2. Typename Vartype returns a numeric value indicating the sub datatype of a variable. The below table contains return values that indicate respective subtypes. Sub Return Value Description Datatype 0 vbEmpty Empty (uninitialized) 1 vbNull Null (no valid data) 2 vbInteger Integer 3 vbLong Long integer Single-precision floating-point 4 vbSingle number Double-precision floating-point 5 vbDouble number 6 vbCurrency Currency 7 vbDate Date 8 vbString String 9 vbObject Automation object 10 vbError Error 11 vbBoolean Boolean Variant (used only with arrays 12 vbVariant of Variants) 13 vbDataObjectA data-access object 17 vbByte Byte 8192 vbArray Array Dim x x=10.2 msgbox vartype(x) www.ramupalanki.com
  • 9. For more QTP Scripts, www.ramupalanki.com output 5 Typename directly returns the name of the Sub Datatype of a variable. Sub Description Datatype Byte Byte value Integer Integer value Long Long integer value Single Single-precision floating-point value Double Double-precision floating-point value Currency Currency value Decimal Decimal value Date Date or time value String Character string value Boolean Boolean value; True or False Empty Unitialized Null No valid data <object type> Actual type name of an object Object Generic object Unknown Unknown object type Object variable that doesn't yet refer to an Nothing object instance Error Error dim x x=10.6 www.ramupalanki.com
  • 10. For more QTP Scripts, www.ramupalanki.com msgbox typename(x) output double 10. count the number of child objects of flight reservation application invokeapplication"E:Program FilesMercury InteractiveQuickTest Professionalsamplesflightappflight4a" Set child_obj=Dialog("text:=Login").ChildObjects print child_obj.count 11.child objects method(google page) Set child_obj = description.Create child_obj("micclass").value= "WebEdit" set x = browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(child_obj) totwebedit = x.count print totwebedit For i = 0 to totwebedit-1 print x(i).getroproperty("Name") Next www.ramupalanki.com
  • 11. For more QTP Scripts, www.ramupalanki.com 12. how to read data from notepad file? ‘How to read text from notepad using filesystemobject Set x=createobject("Scripting.FileSystemObject") Set y= x.OpenTextFile("E:Documents and SettingsSudhaDesktopgod.txt",1) While not y.atendofstream a=y.readline() print a Wend 13. how to write data in the new notepad file? Set x=createobject("Scripting.FileSystemObject") Set z= x.OpenTextFile("E:Documents and SettingsSudhaDesktoplord.txt",2) z.writeline("One") z.writeline("two") z.writeline("three") z.writeline("four") z.writeline("five") 14. how to read data from one notepad to wrte another notepad file Set x=createobject("Scripting.FileSystemObject") www.ramupalanki.com
  • 12. For more QTP Scripts, www.ramupalanki.com Set y= x.OpenTextFile("E:Documents and SettingsSudhaDesktopgod.txt",1) Set z= x.OpenTextFile("E:Documents and SettingsSudhaDesktoplord.txt",2) While not y.atendofstream a=y.readline() z.writeline(a) print a Wend 15.how to replace from one particular notepad to another notepad Set x=createobject("Scripting.FileSystemObject") Set y= x.OpenTextFile("E:Documents and SettingsSudhaDesktopgod.txt",1) Set z= x.OpenTextFile("E:Documents and SettingsSudhaDesktoplord.txt",2) While not y.atendofstream a=y.readline() If instr(1,a,"99402") Then a=replace(a,99,88) end if z.writeline(a) print a Wend www.ramupalanki.com
  • 13. For more QTP Scripts, www.ramupalanki.com 16. how to set value in web page using descriptive systemutil.Run "iexplore.exe","http://google.com" Set x=description.Create x("micclass").value="webedit" browser("micclass:=browser").page("micclass:=page").webedit("index:=1" ).set"oshoworld" browser("micclass:=browser").page("micclass:=page").webbutton("index: =1").Click www.ramupalanki.com