![]() |
help about CreateObject - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: help about CreateObject (/Thread-help-about-CreateObject) |
RE: help about CreateObject - sreeswetha - 08-19-2011 Code: systemutil.Run "iexplore.exe","http://www.mail.yahoo.com" RE: help about CreateObject - atul2038 - 09-23-2011 The format of 'CreateObject' function is: CreateObject(servername.typename) please tell me from where can I retrieve the 'servername' of applications. e.g. generally we use- 1) 'Excel.Application' for MS Excel (why haven't we used MSExcel.Application?) 2) 'InternetExplorer.Application' for Internet Explorer (why didn't we use IExplorer.Application?) RE: help about CreateObject - Ankur - 09-23-2011 Those are ProgIDs . Check the list of commonly used ProgIds here http://www.winscripter.com/WSH/COM/61.aspx RE: help about CreateObject - s_shiva - 11-23-2011 Hi.. Sreesswatha i have joined today only i saw ur query and done some R&d and found that webedit object doesn't have webtable object as its parent, so remove the webtable parent object from your code then run the script. it will work fine i tried it Bye S_shiva RE: help about CreateObject - chrissolinsky - 11-23-2011 Thanks for nice infomation it is helpful RE: help about CreateObject - shivu.impu - 02-17-2012 Code: dim objexplorer, pagina, pagina2 now try by executing above script RE: help about CreateObject - vinod123 - 11-19-2015 A Description Object in QTP is a collection of test object property and value pairs. Each object in the app classifies to be part of a collection. It is a very powerful approach to create object collections – each object in the collection will resemble each other by the property-value pairs specified by a description object. Code: Set oDesc = Description.Create Description.Create is used to create a 0-based Properties collection object. The variable oDesc is preceded by the Set statement. Usage of Set statement binds an object as a reference to another object. Therefore, oDesc becomes an object reference to the description object represented by Description.Create. A description object does not have a stand-alone use, but coupled with the ChildObjects method, it becomes an extremely powerful approach in dealing with AUT’s objects. RE: help about CreateObject - arunshuklainbox - 01-25-2016 Hi Shusheel, Please use regular expression in the recorded property values of the objects in OR. i.e. TeScreen("screen28888") , TeField("field167") Suppose if the value for Name property is screen28888 then make it as screen\d+ so it will match all screens with name as "sceen....." Apply this change to every recorded object description. Thanks, Arun RE: help about CreateObject - smiley - 10-04-2016 Hi Sir/Mam, Can any one tell me how to post a new query in this forum. As I am fresher in my company joined as an Automation. I know only basics, to get clarification and good information from seniors and experts of this forum. Thanks Anusha RE: help about CreateObject - arunshuklainbox - 10-04-2016 Dear Anusha, You may go to this link and find out the relevent article as per your need https://www.learnqtp.com/forums/index.php If you need to ask anything related to a particular post, you can post your query in the same post and members would reply on your query. Happy learning!! :-) Arun |