Change title of Command Prompt for Automation

1 Star2 Stars3 Stars4 Stars5 Stars (3)
Loading ... Loading ...

Executing batch jobs or commands through window command prompt requires recognizing the MSDOS Window. The DOS window can be launched from a QTP script using the below command
SystemUtil.Run “cmd”
This launched a MS-DOS console as shown in the image below
The above window can be recognized using the title of the Window “C:\Windows\System32\cmd.exe”
Window("title:=C:\\Windows\\System32\\cmd\.exe").Activate
or
Set oDosW = Description.Create
oDosW("regexpwndtitle").Value = [...]

Register or Login to read the full article...

  1. Suscribe to Email

    Enter your email address:

    Delivered by FeedBurner

  2. Most Viewed


  3. Sitemap

    open all | close all
  4. Most Rated

  5. Translator

    English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
    Croat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flag
    Slovak flagSlovenian flagUkrainian flagVietnamese flag           
    By N2H

Your Ad Here