The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP / Mercury WinRunner

Pages: 1
KrishnaPrasad9
Newbie


Reged: 01/14/11
Posts: 2
dos_system call returns 1 in windows 7
      #656227 - 01/14/11 07:58 AM

Hi,

We have been using WinRunner 8.2 to test our application in Windows XP. But I wanted to check, whether I could use WinRunner 8.2 for automation in Windows 7 32-bit OS as well. So, I installed it and ran a sample test script to test our application.
Though the test ran fine, WinRunner failed at couple of steps. On debugging, I came to know that the dos_system call which we were using to run the DOS commands and execute some bat scripts was failing, and the code it returned was 1. As, given in the TSL Reference, it meant that the call did not work properly.
So, is there another way to run DOS commands through WinRunner in Windows 7?


Post Extras: Print Post   Remind Me!   Notify Moderator  
Peter RuscoeModerator
Veteran


Reged: 03/18/02
Posts: 7686
Loc: Tampa Bay
Re: dos_system call returns 1 in windows 7 [Re: KrishnaPrasad9]
      #656272 - 01/14/11 11:23 AM

Since WR pre-dates Windows 7 Or even Vista), your particular issue might be the least of your problems. I think you are setting yourself up for failure.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Rajkumar_Rajangam
Veteran


Reged: 10/22/10
Posts: 3136
Loc: Norway
Re: dos_system call returns 1 in windows 7 [Re: Peter Ruscoe]
      #656276 - 01/14/11 11:54 AM

Although it's outdated, if you are sure it fails only on the DOS commands, you can investigate them. Just a give a try. I hope you are using some legacy system which is not supported by QTP.

Post Extras: Print Post   Remind Me!   Notify Moderator  
KrishnaPrasad9
Newbie


Reged: 01/14/11
Posts: 2
Re: dos_system call returns 1 in windows 7 [Re: Rajkumar_Rajangam]
      #656658 - 01/18/11 07:04 AM

Hi Peter and Rajkumar, thanks for your replies.

I am exploring whether the changes to be made to our existing scripts are minimal or we need to employ a new tool altogether.

For now, I have converted the batch scripts into executables and using invoke_application with parameters to get the functionality. And let me see, after running some other test suites, whether I encounter any other issues.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 6 anonymous users are browsing this forum.

Moderator:  Peter Ruscoe, bpolitzer 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3426

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5