Renaming the UITestActionLog file to be same as Test Case name - visual-studio-2013

Hi currently my UITestACtionLog file is not naming after my test case. I have looked in to this post Renaming test results of UITestActionLog files or folders as the test case name and I am able to add the .settingfile but I have no idea on how to edit the file so that it will change my UITestActionLog name to be same as my Test Case name. When I open the .settingfile it looks like this
I have no idea how to edit in this screen. Would appricate if anyone can help me out with this.

Related

I have an error while changing app name Xcode

https://zeddios.tistory.com/286
I have followed this web site to change my project's name
The Original name is HM 10 Serial and TOUCHE and I want to union that to CANTUS.
But I have failed to change, so I tried to renamed it to the original name.
But when I start Xcode again, there is only
What screen shows
I don't know how to fix it....
and I have no back up file so I have to fix it.
What is this problem and how can I solve this?
I'm so so Desperate, So please any give me any possible idea.
############### added ###############
Problem is getting better and is changed
now I have a different problem.
Build input files cannot be found:
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/UIColor.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/OperateViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/PreferencesTableViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/ScannerViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/GraphViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/SpeedButton.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/AppDelegate.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/BluetoothSerial.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/InitViewController.swift'

Finding the path to file using application startuppath in a windows form

Hi every one I am trying to access a file in certain folder in my windows form app, but I keep getting the error "could not find a part of the path: C:....e.t.c".
here is my code:
string doc = Application.StartupPath + #"\filefolder\pin-card02.docx";
please what is wrong with this piece of code?
I have seen some explanations but nothing tells me how to direct my program to a certain file in a folder...
Thanks in Advance
There's probably nothing wrong with this piece of code, most likely this file is not set as content of your application and is not getting copied to the output directory, if this is part of a visual studio solution, check that pin-card02.docx has "copy to output directory" set to "Always" or "Copy if newer" in the .doc's properties, if it's not part of the solution, you may need to include it and set the property.
If this doesn't help, you'll need to provide more information on the problem.

Method or data member not found compile issue

I have a VB6 project that I didn't create but I have to update, when I go to make the exe I get a compile error: Method or data member not found, and it points too "SCom1.FileReceive" in the code below. When I look at the Main form, the SCom1 control is a PictureBox.
This code has been working for the last 5 years but I don't know why SCom1 is a picturebox, or why I'm getting the error, is it a reference? SCom1 to me looks like a MSComm function? Let me know if anyone has any ideas, I just don't know VB enough to know how to troubleshoot this. Thanks
If SCom1.FileReceive = True Then
WriteToLog (Now() & " FileReceive was true, now false")
SCom1.FileReceive = False
End If
The machine which you have opened the code doesn't have the mscomm32.ocx file or the ocx file not registered properly.
When vb cannot reference an ocx, it'll convert the relevant control to a picture box control.
What you have to do is, close the project without saving. Then open system32 folder and check for mscomm32.ocx file. If the file is not there then you have to download that from the intenet. The register the file using regsvr32 command in command prompt.
After this you can open the vb6 project and start working.
=========================================================
EDIT : Included the update in the comments to the answer, this will help other users in the future... :-)
if the method name doesn't look familiar to a known ocx file (in this case the SCom1.FileReceive), the missing component can be a custom ocx file.
So check on the working machine or in project folder whether there are any ocx file exists in the relevant name (in this case SCom.ocx).
if there is a file exists in such name, register that file using regsvr32 (if not registered), then add that to toolbox, then replace the picture box control with the relevant control (make sure the name tally).

Visual Studio ItemsTemplate - $safeitemrootname$ is not doing what expected

I'm trying to create an ItemTemplate with multiple files. So far, so good. Both of my files are created and they have the right name. Now, one of them is named as the user entered. The other must use that name. I think that's what $safeitemrootname$ is supposed to do. How ever I get the same result as $safeitemname$. How can I do?
Thanks

Visual Studio Installer: How to make app.config a hidden file if I choose to add primary output instead of individual files?

Basically, I created a Visual Studio Installer project. I added a primary output to my project, which was great because it loaded in the dependencies and files automatically for me. The problem I'm facing is that I want to be able to mark my config file as a hidden file, but can't seem to figure out how.
When I go to View>File System it lists:
MyExternalAssembly.dll
Primary output from MyProject (Active)
So, is there a way to actually mark my config file as hidden during installation if I add a primary output project instead of the individual files?
I'm not sure if you really want to make it hidden. If you're worried about users looking at it, a more than average user will know how to un-hide things and pilfer around. So, that being said, if you want to keep users from seeing what's in the config you will need to encrypt the config. A good example of that can be found here:
http://www.davidhayden.com/blog/dave/archive/2005/11/17/2572.aspx
If you still want to hide the config, then you could try hiding it once the application is run for the first time.
Using: ApplicationDeployment.IsNetworkDeployed && ApplicationDeployment.CurrentDeployment.IsFirstRun with a click once application you can tell if this is the first time an application is run.
You could then use File.SetAttributes(path, File.GetAttributes(path) | FileAttributes.Hidden); to actually hide the app.config.
Which would result in:
if (ApplicationDeployment.IsNetworkDeployed && ApplicationDeployment.CurrentDeployment.IsFirstRun)
{
File.SetAttributes(path, File.GetAttributes(path) | FileAttributes.Hidden);
}

Resources