Hi Team, 

I need logic for the below function script.

what i want to do is, create an excel sheet and put that data in that sheet 
and taking from excel sheet to execute this script. 
i need to import data from the excel sheet. what logic i need to use? pls 
help. appreciated. 

' Search and Select the listedproduct Staff Address and Enter the Date
If Browser("Home").Page("product").Image("listedproduct").Exist Then
Browser("Home").Page("product").Image("listedproduct").FireEvent 
"onmouseover"
Browser("Home").Page("product").Image("listedproduct").Click
If Browser("Home").Window("product").Page("Address 
book").Frame("Frame").WebList("selectedStaff").Exist Then 
Browser("Home").Window("Product Name address").Page("Product Name 
address").Frame("Frame").WebList("selectedStaff").Select (1)
Browser("Home").Window("Product Name address").Page("Product Name 
address").Frame("Frame").WebButton("OK").Click
Browser("Home").Page("Product Name address").WebEdit("StaffDate").Set 
CurDate
Else 
Reporter.ReportEvent 1,"Home", "Failed to display the 'Product Name 
address'"
' Add 'Comments' to Run Time Data Sheet
DataTable("Comments", DTGlobalSheet) = "Failed to display the 'Product Name 
address'"
' Call 'CreateReport' Sub Procedure to Export Run Time Data Sheet
Call CreateReport()
End If
End If

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


  • Need Logic miteshpatel269
    • Need Logic miteshpatel269

Reply via email to