Ranorex 8.0 stop of recording after application start

Mobile Testing, Android App Testing.
giovsang
Posts: 2
Joined: Fri Feb 02, 2018 12:20 pm

Ranorex 8.0 stop of recording after application start

Post by giovsang » Sat Feb 03, 2018 8:59 am

Hi,

I used the record function for an android mobile application in ranorex 6.2 and I had no problems.
I updated to ranorex 8.0 and now if I start the record from Ranorex Studio", Ranorex Spy opens and the recording stops, without errors; if I do operations on the device, I find them in Ranorex Spy and can import them in the repository .

If I use directly Ranorex Record I receive the following error message:
"System.NotSupportedException: Specified method is not supported.
---STACKTRACE---
System.NotSupportedException: Specified method is not supported.
Ranorex.Core.Utils.IO.NoIDEService.OpenSpy() +0x5
Ranorex.Controls.ItemRecorder.OnStartRecording(Int32 recordStartIndex,Boolean mobile) +0x130
Ranorex.Controls.ItemRecorder.OnRecordButtonClicked() +0xa4
Ranorex.Controls.ItemRecorder.imageButtonRecord_MouseClick(Object sender,MouseEventArgs e) +0xd
System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e) +0x19
System.Windows.Forms.Control.WmMouseUp(Message& m,MouseButtons button,Int32 clicks) +0x116
System.Windows.Forms.Control.WndProc(Message& m) +0x66f
System.Windows.Forms.ScrollableControl.WndProc(Message& m) +0x34
System.Windows.Forms.ContainerControl.WndProc(Message& m) +0x13
System.Windows.Forms.UserControl.WndProc(Message& m) +0x13
System.Windows.Forms.Control+ControlNativeWindow.OnMessage(Message& m) +0x0
System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message& m) +0x8e
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam) +0x25

---ORIGINAL STACKTRACE---
System.NotSupportedException: Specified method is not supported.
at Ranorex.Core.Utils.IO.NoIDEService.OpenSpy()
at Ranorex.Controls.ItemRecorder.OnStartRecording(Int32 recordStartIndex, Boolean mobile)
at Ranorex.Controls.ItemRecorder.OnRecordButtonClicked()
at Ranorex.Controls.ItemRecorder.imageButtonRecord_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

"
Is there any configuration to set, I have to download any module?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex 8.0 stop of recording after application start

Post by odklizec » Sat Feb 03, 2018 9:23 am

Hi,

I think you missed the information in Ranorex 8.0 release notes that recording is discontinued for mobile devices?

You can find more details about the reasons of removing recording for mobile devices here...
https://www.ranorex.com/blog/create-mob ... -0-higher/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration