Ad Home

Theme images by kelvinjay. Powered by Blogger.

Travel

Header Ads

Java

Selenium

UFT

Framework

General QA Concept

BDD

» » How to Close Oracle Form in QTP??


This is one more situation which arises very common to an ERP test engineers. Most of the time we rely on QTP's record feature. But this is scenario which occurs all most in every window of Oracle ERP Testing.
So instead of doing record playback in every time I tried to use some descriptive approach to make it a general case. So this can be treated as common function across the scenario.This is a code rather sub/procedure where we need to pass the form name as a parameter and this will close the form.


Sub ERP_CloseForm(sFrmName)
If OracleFormWindow("short title:="& sFrmName).Exist Then
OracleFormWindow("short title:="& sFrmName).CloseForm
End If
End Sub



I used this in my project? What about you??

«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply