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 Functional Testing / Mercury QuickTest Pro / QTP

Pages: 1
SilkTester007
Member


Reged: 12/03/07
Posts: 158
System Util
      #590698 - 09/14/09 02:11 AM Attachment (83 downloads)

Hi All,

I am executing three actions and in the Test results report it is displayed as 5 Passed and 1 failed that means it is showing as 6 Actions Executed?

When i explore the report the count is increased because of System util statement in each action and i want to avoid that System Util statement in results report and show the count as 3 Actions executed.

Please see the screenshot for more information.

Thanks,


Post Extras: Print Post   Remind Me!   Notify Moderator  
MatthewKelly
Member


Reged: 03/11/08
Posts: 25
Re: System Util [Re: SilkTester007]
      #590716 - 09/14/09 04:07 AM

You could disable the report prior to the call then enable it again after,

Reporter.Filter = rfDisableAll
SystemUtil.Run "iexplore.exe","",,,3
Reporter.Filter = rfEnableAll

Or if you add this to a Sub so you can revert the changes easily at a later stage for all calls if needed by just updating the filter settings and this will update all instances.

Call s_Run ( "iexplore.exe" , "")


Public Sub s_Run (strOne, strTwo)

Reporter.Filter = rfDisableAll
SystemUtil.Run strOne,strTwo,,,3
Reporter.Filter = rfEnableAll

End Sub


Post Extras: Print Post   Remind Me!   Notify Moderator  
SudhakarKakunuri
Member


Reged: 07/04/09
Posts: 34
Loc: Hyderabad, India
Re: System Util [Re: SilkTester007]
      #590961 - 09/15/09 02:17 AM

I think its iteration problem not the systemutil object problem.

Change the Test / Action Iteration settings to "Run One Iteration Only".

To change Test Iteration Settings:

File--> Settings-->Run

To change Action Iteration Settings:
Keyword view --> Right Click on the Action Name --> Action Call Properties

--------------------
Sudhakar Kakunuri
QtpSudhakar.Com


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



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

Moderator:  IanFraser, Rajkumar_Rajangam, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso 

Print Topic

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

Rating:
Topic views: 1099

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5