Contributions
Re: 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..2.8KViews0likes0CommentsRe: 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..2.8KViews0likes2CommentsGet 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?2.9KViews0likes6CommentsHow 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..1.1KViews0likes2CommentsNeed Help on Data retrieval from DB and Find the particular value count
Hi All, I need a valuable help please right now iretrieved value from the database and wat to find the field value count for example User Name: King i inserted arecord in to the DB and want to find is there any existing value(King) storedin 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.Close1.5KViews0likes5CommentsValidate 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 thosevalues are stored in DB Help me... if you have code sample please share to kktsenthil@gmail.2.5KViews0likes2Comments