ContributionsMost RecentMost LikesSolutionsRe: Get a variable value from one Script file to another script file in VBScript function function_return_value Dim page set page =Aliases.browser.pageB.frameDetail.formAspnetform.paneltest.Panel("testGridDiv").Table("ASGrid") function_return_value = page end function how do i pass the Page object to the file 2? can you correct my code if possiple.. Re: Get a variable value from one Script file to another script file in VBScript 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.. Re: Get a variable value from one Script file to another script file in VBScript hi, i followed your input but its not getting the value. i used as 'USEUNIT File2 in vbscript anyother way is there to achieve this? Get a variable value from one Script file to another script file in VBScript Hi All, How can i get a variable value from one script file to another file in VB Script File1 Dim page set page = Aliases.browser.pageHomeLogg.frameModules File2 I want to use the page variable in teh File2 so how can i achieve that? Re: Need Help on Data retrieval from DB and Find the particular value count Yes the code works fine and need to find the duplicate value.. How can I get the last row first cell value in vbcript HI All, I'm facing an issue and not able to find exact solution as well not able to write code also. my scenario is Clicks on Add button - Added a row at the bottom in the grid - Click on a info icon which is locating in the first cell in the last row(added new row) - a new row will be added again in the grid. i was tried through record playback it;s taking the only recorded row but i want to create this dynamic way.. please some one help me. i'm trying to this scenarion but not able to make it.. Type mismatch: 'myAdd' HI All, I was getting an error message while passing parameter from one funtion to another funtion in vbscript some one can you help me. Need Help on Data retrieval from DB and Find the particular value count Hi All, I need a valuable help please right now i retrieved value from the database and wat to find the field value count for example User Name: King i inserted a record in to the DB and want to find is there any existing value(King) stored in the Table(Duplicate value) Below is Script in VB So some one help me Qry.SQL = "select * from Test_Main.dbo.tbtable" Qry.Open Qry.First While Not Qry.EOF columnvalue = Qry.FieldByName("ColumnName").Value if(StrComp(columnvalue,UsertxtInputName,1)) = 0 then log.message "Input data stored in the database successfully" log.message columnvalue end if Qry.Next Wend ' Closes the query Qry.Close Validate the user input values in the Database Dear Friends, Scenario is, I have saved records successfully and i want to validate the values are stored in the DB. Like saving a records and verify in the DB. User Name: Senthil Place: Coimbatore after hits save button and need to verify whether those values are stored in DB Help me... if you have code sample please share to kktsenthil@gmail. Re: How to pass diffe inputs from Excel in each test case execution through keyword Test? I'm not familiar in the scripting and how can execute partially from code and partically from keyword test? I'm new to this tool and Please help me..