Login   /   Register

Working with DOS command line

Rate this article
     13 votes, average: 4.23 out of 513 votes, average: 4.23 out of 513 votes, average: 4.23 out of 513 votes, average: 4.23 out of 513 votes, average: 4.23 out of 5
Loading ... Loading ...
April 16th, 2008 by daniva

Objectives

The objectives of this article are :

  • Learn how to use DOS command lines in QTP.
  • Alternative complex tasks.
  • Alternative .NET methods.

The content you are accessing is for registered users only
Registeration is FREE, quick and private.
You can either Register or Login if you have already registered

Posted in QTP Techniques

32 Responses to “Working with DOS command line”

  1. manish.bhatla@yahoo.com Says:

    [+]

    Thanks for such a good article. Here i want to add few more points 1. wShell.Exec is useful only when two command are mutually i... ...

  2. daniva Says:

    [+]

    Hi manish you right. it doesn't work with cli, telnet, FTP. the first method ( Type, GetVisibleText ) do work with telnet and ... ...

  3. manish.bhatla@yahoo.com Says:

    [+]

    Thanks Daniva for your suggestion. I already saw that article its very good. I was looking for some generic solution for all CLI ... ...

  4. emaildeepankar Says:

    [+]

    Thanks for this gud article but i have following doubt Alternate of GetText(0) and GetVisibleText functions on 64bit windows OS... ...

  5. rajkamalinnit Says:

    [+]

    Hi, When I copy the statement from the article above and paste it in QTP Expert view, it throws errro : "Invlid Character" e... ...

  6. Dr.Deviprasad Says:

    [+]

    It's is a very informative material posted, i was wondering where could u get the whole set of information about advanced QTP........ ...

  7. daniva Says:

    [+]

    hi rajkamalinnit yes...is a known problem when copying from articles. those special quotes are symbols ( "Smart quotes" calle... ...

  8. Yaron Assa Says:

    [+]

    Dani, rajkamalinnit - The issue has been resolved. All "smart quotes" are now automatically transformed to regular quotes when the... ...

  9. Article "Smart Quote" problem resolved. | AdvancedQTP Says:

    [+]

    [...] to rajkamalinnit who alerted us to the issue, we’ve activated a workaround which intercepts the articles before they a... ...

  10. Souri Says:

    [-]

    Thanks for the excellent Code

  11. rakesh Says:

    [-]

    Very gud articles here

  12. Suresh_621 Says:

    [+]

    This Article was really helpful. I was trying to work with wshell.run command for creating and copying File structures. But facin... ...

  13. daniva Says:

    [+]

    Hi Suresh i think that you are missing the quotes on the path name Try this cmd = "XCOPY " & Chr(34) & " C:\Douments and Set... ...

  14. krishna6eddy Says:

    [-]

    Very useful info

  15. agniputhran Says:

    [-]

    Thanks a lot to creater of this site.

    Really helpful.

  16. babyou1st Says:

    [-]

    Thanks very much…
    Vicent

  17. heqingbluesky Says:

    [-]

    Great article, I am ablel to learn another way to manipulate CMD object.

  18. epallis Says:

    [+]

    Great article. However, I'd like to be able to launch a Telnet session using the .Exec object in order to access the stdOut objec... ...

  19. ashishgoel04 Says:

    [-]

    Thanks a lot Buddies.. Really Nice one

  20. booster1982 Says:

    [-]

    thanks a lot for all the value documents.Really nice one.

  21. Balaji_singaram Says:

    [-]

    Thanks for posting this article very good one to learn

  22. phidotnet Says:

    [-]

    Very good post

  23. aamina Says:

    [-]

    Thank you so much for posting this script. This is very useful.

  24. ansu_d Says:

    [-]

    GetVisibleText is not working in Windows 2008. It is working fine in Windows 2003.

    So is there any solution for Windows 2008?

  25. manjunath.rgl Says:

    [-]

    Just what I was looking for, thanks guys

  26. kittuQTP Says:

    [+]

    Hi ... I am using wShell.Exec to run the telnet command. Once the prompt comes up i need to input the user name and password in th... ...

  27. s.v.abhi Says:

    [-]

    It really explains and helps………..

  28. nuve1284 Says:

  29. rrgaribe Says:

    [-]

    superb document and great work

  30. saurabhgupta39 Says:

    [-]

    Thanks a lot buddy.
    This article is very much helpful to me……

  31. praveengoud Says:

    [-]

    it’s very nice article.

  32. rajkumarmodake Says:

    [-]

    Very good Article.

Leave a Reply

You must be logged in to post a comment.

This article was viewed 7326 times