how to write code for to select all the checkboxs in the
gmail
i wrote code for my question but it didn't works any body
suggest what wrong my code my code is Set
chkboxDesc=Description.Create()
chkboxDesc("type").value="chekbox"
Set chboxcollection=Browser("name:=Gmail
.*").Page("title:=Gmail .*").ChildObjects(chkboxDesc)
For i=0 To chboxcollection.count-1
chboxcollection(i).set "ON"
Next
i was getting general run time error pls help me i am in
learing stage
Answers were Sorted based on User's Feedback
Answer / udham singh
chkboxDesc("type").value="chekbox"
replace this line with
chkboxDesc("miclass").value="webchekbox"
in ur code spelling of checkbox is also wrong
| Is This Answer Correct ? | 4 Yes | 1 No |
What is driver script and driver script in qtp frame work????
what are recovery management techiniques?
What are table and db checkpoints?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?
How to associate function library at a run time?
What is Port testing. Whhen will you perform?
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?
Hi ,Can any one pleas explain how to test splash objects using QTP?
what is the diff between Procedure and function
How u will open the build automatically in QTP except using Systemutil.run command
What are the properties you would use for identifying a browser and page when using descriptive programming?