Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Object usage in the script
#1
Not Solved
Hi ANKUR,

how to write a script for the custom object? In my Application i face all the Properties such as like windows, dialog,button everything as winobject. i even tried with object identifier to change the object properties but it doesnt work. can u give some sample scripts for this? which one i can use for property? as of now iam using object class or native class in the script.

eg:
Code:
SystemUtil.Run"D:\Code\PresentationLayer.exe"
Set a= Window("text:=Systems Login")
a.Activate
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a").Type"admin"
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a").Type  micTab
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a","height:=13").Type"dss"
a.WinObject("object class:=WindowsForms10.EDIT.app.0.378734a","height:=13").Type  micTab
a.WinObject("text:=Login").Click

Itz working fine but my doubt is,
can i use the Height property in the script. plz help with this ankur
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows Application Custom Combo box selection change event not firing in uft RamUFT 0 810 02-06-2020, 08:10 AM
Last Post: RamUFT
  Request Help | Usage of Oracle Add-In for Oracle SQL Developer Nasir Ahmed 3 3,293 06-18-2014, 04:28 PM
Last Post: vinod123
  Custom sort -Excel Sheet kiran 1 3,671 01-28-2014, 09:23 AM
Last Post: supputuri
  Adding Visual Relation id via script to new object jcraig26 1 3,968 06-24-2013, 01:26 PM
Last Post: ourhari
  Error while creating object using description.create object in VB script SarodeGirish 5 5,789 06-19-2012, 05:30 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 1 Guest(s)