Forum Discussion
File1
function function_return_value
Dim page
set page =Aliases.browser.pageB.frameDetail.formAspnetform.paneltest.Panel("testGridDiv").Table("ASGrid")
function_return_value = page
end function
'USEUNIT File1
sub testing()
Dim Addprops,Addvalue,idstrtagname, idstrtagname
Addprops = Array("contentText", "tagName")
Addvalues = Array("Add value", "SPAN")
idstrtagname = File1.function_return_value()
idstrtagname.Find(Addprops, Addvalues, 1000,true).click
log.Message idstrtagname
end sub
when i run file1 i was getting an error message as 'Object doesn't support this property or method'
guide me on this.
if i want to pass a object from one file to another file how can i do please guide me friends..
- kktsenthil9 years agoOccasional Contributor
function function_return_value
Dim page
set page =Aliases.browser.pageB.frameDetail.formAspnetform.paneltest.Panel("testGridDiv").Table("ASGrid")
function_return_value = pageend function
how do i pass the Page object to the file 2?
can you correct my code if possiple..
Related Content
- 10 months agolodecesa
- 13 years agojyothi_priya
- 4 years agonedbacan
Recent Discussions
- 13 hours agodhundley