Can we use Perl and Shell scripting in QTP?

Questions by muralisqa   answers by muralisqa

Showing Answers 1 - 5 of 5 Answers

KodumuruRamesh

  • Oct 30th, 2006
 

Hi

     No,we can not use Perl & Shell Scripting in QTP.

QTP supports VB script & Jscript.

kodumururamesh@yahoo.co.in

  Was this answer useful?  Yes

muki

  • Sep 29th, 2011
 

Ho Handle Hidden objectts we can use shell scripting in qtp...

example scenario is google search edit box...
if u type ur name in google search edit box u will be showing some related options ..
to handle this type of objects we can use shell scripting..


example code..
set wso=create object("wsscript.shell")
wso.sendkeys("murali")
wso.sendkeys("{down")
wso.sendkeys("{enter")
.
.
.
If anybody knows more than this please post ur comment

if any body wants clarification u can message to 9030344223


  Was this answer useful?  Yes

vikky

  • Oct 18th, 2011
 

Yes you can use Shell scripting in QTP. Their are lot of Shell objects we can use in script.
I am not sure about Perl scripting.

  Was this answer useful?  Yes

sheela

  • Oct 22nd, 2011
 

No, we can't use pearl and shell scripting in QTP. QTP supports only VB Scripting.

  Was this answer useful?  Yes

Hi Muki,
In my application, there are two links and they are identified by the following script:

Code
  1. Set objBrowser = Browser("micclass:=Browser","CreationTime:=0").Page("micclass:=Page","index:=0")

  2. Set objchkbox = Description.Create

  3. objchkbox("micclass").value = "Link"

  4. 'objchkbox("html tag").value = "A"

  5. 'objchkbox("name").value = "Month End.*"

  6. 'objchkbox("visible").value = "False"

  7. objBrowser.Highlight

  8.  

  9.  

  10.  



The above gets two links which name starts with Month End. But if I go for specific name say Month End (September), it does not find a single. What could be the issue here?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions