Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
tgoim Absent Member.
Absent Member.
352 views

Trail version HP-UFT, issue with creating a GUI test

Hi everyone,

I have downloaded the trial version of UFT for work purposes. Trying to get a hang of the software I come across the issue of not being able to create a new GUI Test (Which is basically all I need).

I can open the software, create a new solution, create a new API test but cannot create a GUI Test. 

Below is the error message I get when trying to create one :

Any suggestions ? 

Thank you all for helping out.

Best regards,

-------------------------------------------------------------------------------------------------------------------------

Exception of type: System.InvalidCastException. Source: QTP.BackEnd.Core.DocumentIfsLib. Occured in Void Save(Int32, System.String, Int32, Int32 ByRef, System.Object ByRef) method
Exception message is: Le cast spécifié n'est pas valide.
Exception trace is: à QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Save(Int32 Cookie, String ObjectRepositoryNewVirtualPath, Int32 bOverwrite, Int32& pCookie, Object& ppnewObjectRepository)
à HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.SaveLocalObjectRepository(String bdbPath, Boolean isSaveAs)
à HP.QTP.Backend.Entities.ActionDocument.SaveLocalObjectRepository(String path, Boolean isSaveAs)
à HP.QTP.Backend.Builders.ItemBuilders.ActionBuilder.Save(ActionDocument actionDocument, IEntity owner)
à HP.QTP.Backend.Builders.ItemBuilders.ActionBuilder.New(String path, IEntity owner)
à HP.QTP.Backend.Builders.ItemBuilders.BuilderBase`2.HP.QTP.Backend.Common.IBuilder.New(String path, IEntity owner)
à HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.InternalNew(String path, IEntity owner)
à HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.New(String path, IEntity owner)
à HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.New(String path, IEntity owner, Boolean performSave)
à HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.New(String path, IEntity owner)
à HP.QTP.Backend.Builders.ItemBuilders.BuilderBase`2.HP.QTP.Backend.Common.IBuilder.New(String path, IEntity owner)
à HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.InternalNew(String path, IEntity owner)
à HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.New(String path, IEntity owner)
à HP.QTP.BackEndServices.BackEndManager.<>c__DisplayClass84_0.<NewTest>b__0(Object dummyCreateInfo)
à HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
à HP.QTP.BackEndServices.BackEndManager.NewTest(String testname, Boolean isTempTest)
à HP.QTP.ProjectSystem.QtpProjectService.CreateTestProject(String path)
à HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
à HP.QTP.ProjectSystem.QtpProjectService.CreateProject(ProjectCreateInformation info)
à HP.QTP.ProjectSystem.QtpProjectBinding.CreateProject(ProjectCreateInformation info)
à ICSharpCode.SharpDevelop.Internal.Templates.ProjectDescriptor.CreateProject(ProjectCreateInformation projectCreateInformation, String defaultLanguage)
à HP.Utt.ProjectSystem.UttProjectTemplate.CreateProject(ProjectCreateInformation projectCreateInformation)
à HP.QTP.ProjectSystem.Templates.CreateNewQtpProjectCommand.InternalRun()
à HP.Utt.UttCore.UttWrappedCommand.Run()
à HP.Utt.ProjectSystem.UttProjectTemplate.<>c__DisplayClass22_0.<LoadTemplateData>b__0(ProjectCreateInformation projectCreateInformation, Boolean isSolutionVisible, List`1 selectedTemplateItems)
à HP.Utt.ProjectSystem.UttProjectService.CreateProject(UttProjectCreateInformation cinfo, String newSolutionDirectory)
à HP.UFT.ProjectSystem.UftProjectService.CreateTestingProject(UftProjectCreateInformation createInformation)
à HP.UFT.ProjectSystem.Commands.Add.AddNewTestingProjectCommand.InternalRun()
à HP.Utt.UttCore.UttWrappedCommand.Run()
à ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)
à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
à System.Windows.Forms.ToolStrip.WndProc(Message& m)
à System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

SharpDevelop Version : 4.1.3.0-00000000
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 10.0.14393.0
Current culture : French (France) (fr-FR)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 352956kb
GC Heap Memory : 23859kb


An unexpected error occurred.

Click ‘OK’ to close this message. You may be able to continue working,
but note that this workflow may cause the error to occur again.
Click ‘Details’ to display technical details on this error which may help
you solve the problem, or can be used when contacting customer support.

---- Post-error application state information:
Installed 3rd party AddIns: [HPE UFT File Dialog for UFT Only 14.0.0.0], [HPE QTP ActiveScreen Pane 14.0.0.0], [HPE QTP DataTable Addin 14.0.0.0], [HPE QTP UTT Based Debugger 14.0.0.0], [HPE QTP FileDialog Addin 14.0.0.0], [HPE QTP Property Tabs 14.0.0.0], [HPE QTP QtpBpt4ErpCrm Plugin 14.0.0.0], [HPE ST ALM Storage 14.0.0.0], [HPE ST Basic Extensibility 14.0.0.0], [HPE ST Designer UI Extensibility 14.0.0.0], [HPE ST SOA Replay API Extensibility 14.0.0.0], [HPE ST Async 14.0.0.0], [HPE ST Checkpoints 14.0.0.0], [HPE ST Data Providers 14.0.0.0], [HPE ST Basic Activities 14.0.0.0], [HPE ST BPT Integration 14.0.0.0], [HPE ST C Sharp Translation Layer 14.0.0.0], [HPE ST Database Activities 14.0.0.0], [HPE ST Docker 14.0.0.0], [HPE ST .NET Import Technologies 14.0.0.0], [HPE ST Framework Upgraders 14.0.0.0], [HPE ST FTP Activities 14.0.0.0], [HPE ST Debugger Addin 14.0.0.0], [HPE ST HTTP Activities 14.0.0.0], [HPE ST HTTP Receiver Activities 14.0.0.0], [HPE ST Run Step Pad 14.0.0.0], [HPE ST Java Call 14.0.0.0], [HPE ST JMS Technology 14.0.0.0], [HPE ST LoadRunner Integration 14.0.0.0], [HPE ST MQ Activities 14.0.0.0], [HPE ST MQTT Activities 14.0.0.0], [HPE ST Basic Property Sheet Tabs 14.0.0.0], [HPE ST REST Technology 14.0.0.0], [HPE ST REST V2 Technology 14.0.0.0], [HPE ST UFT File Dialog for STM 14.0.0.0], [HPE ST Service Test Runner 14.0.0.0], [HPE ST Basic Framework 14.0.0.0], [HPE ST Toolbox Default Presenter 14.0.0.0], [HPE ST Toolbox UI Extensibility 14.0.0.0], [HPE ST Transform JSON 14.0.0.0], [HPE ST Transform XML 14.0.0.0], [HPE ST QTP Test Runner 14.0.0.0], [HPE ST XML Validation 14.0.0.0], [HPE ST VTD Extensibility 14.0.0.0], [HPE ST Run Vugen 14.0.0.0], [HPE ST Wait Activity 14.0.0.0], [HPE ST Web Analyzer 14.0.0.0], [HPE ST WebSocket 14.0.0.0], [HPE ST Standard Import Technologies 14.0.0.0], [HPE ST Shell Services 14.0.0.0], [HPE SV ALM Integrations 14.0.0.0], [HPE UFT Data Explorer 14.0.0.0], [UTT Configuration UI 14.0.0.0], [Debug Pad Wrapper Extension addin for UTT 14.0.0.0], [UTT Debug Basic implementation addin for UTT 14.0.0.0], [UTT File Dialog 14.0.0.0], [HPE UFT File System Dialog Addin 14.0.0.0], [HPE UFT ALM File Dialog Addin 14.0.0.0], [UTT Connection Addin 14.0.0.0], [HPE UTT IDE commands 14.0.0.0], [UttBookmarkPad 14.0.0.0], [UttErrorListPad 14.0.0.0], [UttOutputPad 14.0.0.0], [UttTaskListPad 14.0.0.0]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
ProjectService.OpenSolution: [Solution: FileName=C:\Users\Néo\Desktop\SIDO\HP - UFT\HP-UFT - Solution Folder\Solution3.ftsln, HasProjects=False, ReadOnly=False]
ProjectService.CurrentProject: <null>

---- Recent SharpDevelop log messages:

---- Recent Utt log messages:

 

0 Likes
1 Reply
HungLuong
Visitor.

Re: Trail version HP-UFT, issue with creating a GUI test

Hi all,
Im getting same issue, anyone can help us ?

Thanks,
Hung

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.